- Feb 24, 2013
-
-
Argyrios Kyrtzidis authored
llvm-svn: 175977
-
Argyrios Kyrtzidis authored
just using ASTConsumer::HandleCXXStaticMemberVarInstantiation(), don't pass it with ASTConsumer::HandleTopLevelDecl. ASTConsumer::HandleTopLevelDecl is intended for user-written top-level decls; a consumer can treat an instantiated static data member however it wants of course. llvm-svn: 175976
-
Reed Kotler authored
proper. Fixed this already a few days ago for slti. llvm-svn: 175975
-
Cameron Zwarich authored
unless it was requested to with an optional parameter that defaults to false, so we don't need to handle that case in TwoAddressInstructionPass. llvm-svn: 175974
-
Daniel Jasper authored
In conditional expressions, if the condition is split over multiple lines, also break before both operands. This prevents formattings like: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa == aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ? b : c; Which are bad, because they suggestion incorrect operator precedence: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa == (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ? b : c); This lead to the discovery that the expression parser incorrectly handled conditional operators and that it could also handle semicolons (which in turn reduced the amount of special casing for for-loops). As a side-effect, we can now apply the bin-packing configuration to the sections of for-loops. llvm-svn: 175973 -
Michael J. Spencer authored
llvm-svn: 175972
-
David Blaikie authored
llvm-svn: 175971
-
David Blaikie authored
After changing the way several value inheritance hierarchies (TypeLoc, CFGelement, ProgramPoint and SVal) handle casting, this documentation describes how 3rd party code may need to be updated to compile with the new APIs. As suggested by Sean Silva on cfe-dev. llvm-svn: 175970
-
David Blaikie authored
Post commit code review feedback from Matt Beaumont-Gay on r174248. llvm-svn: 175969
-
Benjamin Kramer authored
Testing shows that it's empty in >99% of the cases and I couldn't find a case where it contained more than 2 elements. llvm-svn: 175967
-
- Feb 23, 2013
-
-
Benjamin Kramer authored
Move the cold virtual method getNameForDiagnostic out of line. llvm-svn: 175966
-
Renato Golin authored
llvm-svn: 175965
-
Renato Golin authored
llvm-svn: 175964
-
Enea Zaffanella authored
llvm-svn: 175963
-
Benjamin Kramer authored
Fixes PR15115. llvm-svn: 175962
-
Cameron Zwarich authored
MachineInstrs don't have a slot index. llvm-svn: 175961
-
Daniel Jasper authored
This fixes llvm.org/PR15061. Before: virtual void f(int *)const; After: virtual void f(int *) const; llvm-svn: 175960
-
Daniel Jasper authored
Also don't break in long include directives as that is not desired. We can now format: #include "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" #define LL_FORMAT "ll" printf("aaaaa: %d, bbbbbbbbb: %" LL_FORMAT "d, cccccccc: %" LL_FORMAT "d, ddddddddd: %" LL_FORMAT "d\n"); Before, this led to weird results. llvm-svn: 175959 -
Cameron Zwarich authored
running ASCI_Purple/SMG2000 in the test-suite. llvm-svn: 175957
-
Cameron Zwarich authored
llvm-svn: 175956
-
Cameron Zwarich authored
TwoAddressInstructionPass. The code in rescheduleMIBelowKill() is a bit tricky, since multiple instructions need to be moved down, one-at-a-time, in reverse order. llvm-svn: 175955
-
Logan Chien authored
llvm-svn: 175954
-
rdar://problem/13265297Greg Clayton authored
StackFrame assumes m_sc is additive, but m_sc can lose its target. So now the SymbolContext::Clear() method takes a bool that indicates if the target should be cleared. Modified all existing code to properly set the bool argument. llvm-svn: 175953
-
NAKAMURA Takumi authored
llvm-svn: 175952
-
Michael J. Spencer authored
llvm-svn: 175951
-
Reed Kotler authored
macros.The rest is some small misc. stuff. llvm-svn: 175950
-
Richard Smith authored
ubsan: Emit bounds checks for array indexing, vector indexing, and (in really simple cases) pointer arithmetic. This augments the existing bounds checking with language-level array bounds information. llvm-svn: 175949
-
Richard Smith authored
llvm-svn: 175948
-
Jason Molenda authored
in the gdb-remote Process plugin files. llvm-svn: 175947
-
Enrico Granata authored
llvm-svn: 175946
-
Enrico Granata authored
Fixing issues in previous checkin - still figuring out how to make expectedFailureClang take the bugnumber llvm-svn: 175945
-
Dmitri Gribenko authored
llvm-svn: 175944
-
John McCall authored
rdar://12399248 llvm-svn: 175943
-
rdar://problem/12362092Enrico Granata authored
The decorators @expectedFailure (plain and special-case like i386, clang, ...) are modified to optionally take a bugnumber argument If such an argument is specified, the failure report (or unexpected success report) will include the information passed in as part of the message This is mostly useful for associating failures to issue IDs in issue management systems (e.g. the LLVM bugzilla) llvm-svn: 175942
-
Michael J. Spencer authored
llvm-svn: 175941
-
Jim Grosbach authored
Handle an implied 'sp' operand. rdar://11466783 llvm-svn: 175940
-
Michael Gottesman authored
rdar://13273675. llvm-svn: 175939
-
David Blaikie authored
Use Optional<CFG*> where invalid states were needed previously. In the one case where that's not possible (beginAutomaticObjDtorsInsert) just use a dummy CFGAutomaticObjDtor. Thanks for the help from Jordan Rose & discussion/feedback from Ted Kremenek and Doug Gregor. Post commit code review feedback on r175796 by Ted Kremenek. llvm-svn: 175938
-
Rafael Espindola authored
Weather we should give C language linkage to functions and variables with internal linkage probably depends on how much code assumes it. The standard says they should have no language linkage, but gcc and msvc assign them C language linkage. This commit removes the hack that was preventing the mangling on static functions declare in extern C contexts. It is an experiment to see if we can implement the rules in the standard. If it turns out that many users depend on these functions and variables having C language linkage, we should change isExternC instead and try to convince the CWG to change the standard. llvm-svn: 175937
-
Peter Collingbourne authored
llvm-svn: 175936
-