- Dec 20, 2012
-
-
Bill Wendling authored
llvm-svn: 170721
-
Rafael Espindola authored
Without this patch comparing two equal versions without patch numbers (4.7 for example) will result in A < B and B < A. Patch by Simon Atanasyan. llvm-svn: 170705
-
Alexander Kornienko authored
llvm-svn: 170688
-
Evgeniy Stepanov authored
llvm-svn: 170686
-
Alexander Kornienko authored
http://llvm-reviews.chandlerc.com/D226 Patch by Philip Craig! llvm-svn: 170684
-
Richard Smith authored
appears to currently be benign (we happen to test the flags in the right order, so we never depend on the uninitialized value). llvm-svn: 170640
-
John McCall authored
Fixes PR14628. llvm-svn: 170639
-
Richard Smith authored
produce a note for that diagnostic either with a different DiagnosticEngine or after calling DiagnosticEngine::Reset(). That didn't make any sense, and did the wrong thing if the original diagnostic was suppressed. llvm-svn: 170636
-
Alexander Kornienko authored
http://llvm-reviews.chandlerc.com/D52 Patch by Philip Craig! llvm-svn: 170634
-
Anna Zaks authored
Instead of using several callbacks to identify the pointer escape event, checkers now can register for the checkPointerEscape. Converted the Malloc checker to use the new callback. SimpleStreamChecker will be converted next. llvm-svn: 170625
-
Argyrios Kyrtzidis authored
make sure they came from the same kind of FileIDs. Thanks to Abramo Bagnara for providing the test case. llvm-svn: 170616
-
Chad Rosier authored
rdar://12282267 llvm-svn: 170611
-
Fariborz Jahanian authored
fix any bad objectiveC syntax coming out of DeclPrinter. This is on going. Also, introduce a new PrintPolicy and use it as needed when declaration tag is to be produced via DeclPrinter. llvm-svn: 170606
-
- Dec 19, 2012
-
-
Argyrios Kyrtzidis authored
modules when getting the decls for a namespace or translation unit. Otherwise the code-completion results will not be complete. rdar://12889089 llvm-svn: 170596
-
Fariborz Jahanian authored
category, when those properties will be implemented in category's primary class or one of its super classes. // rdar://12568064 llvm-svn: 170573
-
Dmitri Gribenko authored
TextDiagnostic Patch by Janusz Chorko. llvm-svn: 170566
-
Dmitri Gribenko authored
No testcase because we were just building an extra AST node and eventually throwing it away, so it did not affect correctness. llvm-svn: 170563
-
Bill Wendling authored
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future. llvm-svn: 170500
-
Richard Smith authored
too). When instantiating a direct-initializer, if we find it has zero arguments, produce an empty ParenListExpr rather than returning a null expression. llvm-svn: 170490
-
Richard Smith authored
copy-list-initialization (and doesn't add an additional copy step): Fill in the ListInitialization bit when creating a CXXConstructExpr. Use it when instantiating initializers in order to correctly handle instantiation of copy-list-initialization. Teach TreeTransform that function arguments are initializations, and so need this special treatment too. Finally, remove some hacks which were working around SubstInitializer's shortcomings. llvm-svn: 170489
-
Ted Kremenek authored
This is plumbing needed for later functionality changes. llvm-svn: 170488
-
Ted Kremenek authored
llvm-svn: 170487
-
David Blaikie authored
Change DeclContextLookup(Const)Result to (Mutable)ArrayRef<NamedDecl*>, as per review discussion in r170365 This does limit these typedefs to being sequences, but no current usage requires them to be contiguous (we could expand this to a more general iterator pair range concept at some point). Also, it'd be nice if SmallVector were constructible directly from an ArrayRef but this is a bit tricky since ArrayRef depends on SmallVectorBaseImpl for the inverse conversion. (& generalizing over all range-like things, while nice, would require some nontrivial SFINAE I haven't thought about yet) llvm-svn: 170482
-
Eli Friedman authored
of assignment to a bool bitfield. PR14638. llvm-svn: 170480
-
Eli Friedman authored
against itself. PR14489. llvm-svn: 170474
-
Nadav Rotem authored
llvm-svn: 170472
-
Fariborz Jahanian authored
use clang's formatter. Currently, formatter is used to format declaration tags for xml comments. Since formatter is in flux and its change will break several of the clang comment tests, only a single tests is formatted using this facility. Doug has reviewed and approved it for check-in. llvm-svn: 170467
-
Douglas Gregor authored
llvm-svn: 170466
-
- Dec 18, 2012
-
-
Eli Bendersky authored
llvm-svn: 170461
-
Daniel Jasper authored
We used to format initializers like this (with a sort of hacky implementation): Constructor() : Val1(A), Val2(B) { and now format like this (with a somewhat better solution): Constructor() : Val1(A), Val2(B) { assuming this would not fit on a single line. Also added tests. As a side effect we now first analyze whether an UnwrappedLine needs to be split at all. If not, not splitting it is the best solution by definition. As this should be a very common case in normal code, not exploring the entire solution space can provide significant speedup. llvm-svn: 170457
-
Meador Inge authored
PR 14529 was opened because neither Clang or LLVM was expanding calls to creal* or cimag* into instructions that just load the respective complex field. After some discussion, it was not considered realistic to do this in LLVM because of the platform specific way complex types are expanded. Thus a way to solve this in Clang was pursued. GCC does a similar expansion. This patch adds the feature to Clang by making the creal* and cimag* functions library builtins and modifying the builtin code generator to look for the new builtin types. llvm-svn: 170455
-
Eli Bendersky authored
llvm-svn: 170440
-
Guy Benyei authored
Add OpenCL images as clang builtin types. llvm-svn: 170432
-
Guy Benyei authored
Revert changes from r170428, as I accidentally changed the line endings of these files to Windows style. llvm-svn: 170431
-
Guy Benyei authored
llvm-svn: 170428
-
David Chisnall authored
llvm-svn: 170425
-
Rafael Espindola authored
llvm-svn: 170408
-
Rafael Espindola authored
This fixes the storage class of extern decls that are merged with file level statics. The patch also fixes the linkage computation so that they are considered internal. llvm-svn: 170406
-
Richard Smith authored
llvm-svn: 170403
-
Eli Friedman authored
(This change only affects ObjC.) <rdar://problem/12857117>. llvm-svn: 170402
-