- Feb 25, 2011
-
-
Cameron Zwarich authored
llvm-svn: 126488
-
Douglas Gregor authored
llvm-svn: 126487
-
Douglas Gregor authored
NestedNameSpecifierLoc handling. llvm-svn: 126486
-
Douglas Gregor authored
instantiation of using declarations (all three forms). llvm-svn: 126485
-
Peter Collingbourne authored
Anton Lokhmotov. llvm-svn: 126482
-
Benjamin Kramer authored
Yes, there are other types than i8* and GEPs on them can produce an add+multiply. We don't consider that cheap enough to be speculatively executed. llvm-svn: 126481
-
Chandler Carruth authored
declarations as referenced when in fact we're not going to even form a call in the AST. This is significant because we attempt to allow as an extension classes with intentionally private and undefined copy constructors to have temporaries bound to references, and so shouldn't warn about the lack of definition for that copy constructor when the class is internal. Doug, John wasn't really satisfied with the presence of overloading at all. This is a stop-gap and there may be a better solution. If you can give me some hints for how you'd prefer to see this solved, I'll happily switch things over. llvm-svn: 126480
-
Nick Lewycky authored
llvm-svn: 126479
-
Chandler Carruth authored
legacy code that contains dead code paths referring to such declarations. llvm-svn: 126478
-
Bob Wilson authored
llvm-svn: 126477
-
Chandler Carruth authored
llvm-svn: 126476
-
John McCall authored
llvm-svn: 126475
-
John McCall authored
necessarily enclose the innermost normal cleanup depth, because the top of the jump scope stack might be an EH cleanup or EH scope. Fixes PR9303. llvm-svn: 126472
-
Jim Grosbach authored
llvm-svn: 126471
-
Douglas Gregor authored
tag definitions. Also, add support for template instantiation of NestedNameSpecifierLocs. llvm-svn: 126470
-
Johnny Chen authored
for Stuart Hastings. :-) llvm-svn: 126469
-
Evan Cheng authored
llvm-svn: 126467
-
Ted Kremenek authored
Teach TextDiagnosticPrinter to print out '-Werror' in addition to the warning flag for a warning mapped to an error. For example: t.c:7:9: error: using the result of an assignment as a condition without parentheses [-Werror,-Wparentheses] llvm-svn: 126466
-
Cameron Zwarich authored
is possible to do better if the high bit is set in either KnownZero/KnownOne, but in practice NumSignBits is always 1 when we are zero extending because nothing is known about that register. llvm-svn: 126465
-
Cameron Zwarich authored
actually larger. llvm-svn: 126464
-
Jakob Stoklund Olesen authored
llvm-svn: 126463
-
Howard Hinnant authored
Chris Jefferson spotted a problem with messages_base::catalog while getting libc++ to work on boost. The standard says this type must be an int. But this type is the key returned by the OS facility catopen. On OS X the type returned by catopen is void*, which doesn't fit into an int on 64 bit platforms. Chris suggested using ptrdiff_t instead of void*. It still isn't compliant with the standard, but chances are that this change will fix what is ailing boost. Chris also supplied the algorithm for distinguishing high-order pointers from error conditions. Thanks Chris. llvm-svn: 126462
-
Douglas Gregor authored
llvm-svn: 126461
-
Douglas Gregor authored
llvm-svn: 126460
-
Douglas Gregor authored
UnresolvedUsingValueDecl to use NestedNameSpecifierLoc rather than the extremely-lossy NestedNameSpecifier/SourceRange pair it used to use, improving source-location information. Various infrastructure updates to support NestedNameSpecifierLoc: - AST/PCH (de-)serialization - Recursive AST visitor - libclang traversal (including the first tests of this functionality) llvm-svn: 126459
-
Douglas Gregor authored
llvm-svn: 126458
-
Evan Cheng authored
D registers since the vpush list may not have gaps. Make sure the stack adjustment instruction isn't moved between them. Ditto for vpop in epilogues. Sorry, can't reduce a small test case. rdar://9043312 llvm-svn: 126457
-
Johnny Chen authored
llvm-svn: 126456
-
Douglas Gregor authored
llvm-svn: 126455
-
Argyrios Kyrtzidis authored
Intoduce '-analyzer-checker-help' flag which outputs a list of all available static analyzer checkers. This is pretty basic for now, eventually checkers should be grouped according to package, hidden checkers should be indicated etc. llvm-svn: 126454
-
Chandler Carruth authored
I tried to add test cases for these, but I can't because variables aren't warned on the way functions are and the codegen layer appears to use different logic for determining that 'a' and 'g' in the test case should receive C mangling. I've included the test so that if we ever switch the codegen layer to use these functions, we won't regress due to latent bugs. llvm-svn: 126453
-
Benjamin Kramer authored
llvm-svn: 126452
-
Jakob Stoklund Olesen authored
New live ranges are assigned in long -> short order, but live ranges that have been evicted at least once are deferred and assigned in short -> long order. Also disable splitting and spilling for live ranges seen for the first time. The intention is to create a realistic interference pattern from the heavy live ranges before starting splitting and spilling around it. llvm-svn: 126451
-
Nick Lewycky authored
llvm-svn: 126450
-
Johnny Chen authored
This is the error I got: Debugger entered--Lisp error: (void-function split-string-and-unquote) (split-string-and-unquote command-line) (let* ((words ...) (program ...) (dir default-directory) (file-word ...) (file-subst ...) (args ...) (file ...) (filepart ...) (existing-buffer ...)) (pop-to$ gud-common-init("/Volumes/data/lldb/svn/trunk/build/Debug/lldb" nil gud-lldb-marker-filter) lldb("/Volumes/data/lldb/svn/trunk/build/Debug/lldb") call-interactively(lldb) execute-extended-command(nil) call-interactively(execute-extended-command) The gud-common-init elisp function references split-string-and-unquote function which is not defined there. llvm-svn: 126449
-
Ted Kremenek authored
Don't warn about using PredefinedExprs as format string literals. These never can be a real security issue. Fixes PR 9314. llvm-svn: 126447
-
- Feb 24, 2011
-
-
Benjamin Kramer authored
llvm-svn: 126445
-
Greg Clayton authored
Modifed lldb_private::Process to be able to handle connecting to a remote target that isn't running a process. This leaves lldb_private::Process in the eStateConnected state from which we can then do an attach or launch. Modified ProcessGDBRemote to be able to set stdin, stdout, stderr, working dir, disable ASLR and a few other settings down by using new GDB remote packets. This allows us to keep all of our current launch flags and settings intact and still be able to communicate them over to the remote GDB server. Previously these were being sent as arguments to the debugserver binary that we were spawning. Also modified ProcessGDBRemote to handle losing connection to the remote GDB server and always exit immediately. We do this by watching the lldb_private::Communication event bit for the read thread exiting in the ProcessGDBRemote async thread. Added support for many of the new 'Q' packets for setting stdin, stdout, stderr, working dir and disable ASLR to the GDBRemoteCommunication class for easy accesss. Modified debugserver for all of the new 'Q' packets and also made it so that debugserver always exists if it loses connection with the remote debugger. llvm-svn: 126444
-
Joerg Sonnenberger authored
Introduce a variable in the AsmParserExtension whether [] is valid in an expression. If it is true, parse them like (). Enable this for ELF only. llvm-svn: 126443
-
Johnny Chen authored
llvm-svn: 126442
-