- Jul 16, 2013
-
-
Rafael Espindola authored
llvm-svn: 186448
-
Fariborz Jahanian authored
declaration to include list of protocols class conforms to. llvm-svn: 186443
-
Hans Wennborg authored
llvm-svn: 186438
-
Craig Topper authored
llvm-svn: 186437
-
Daniel Jasper authored
The fundamental concept is: Format as if the braced init list was a function call (with parentheses replaced by braces). If there is no name/type before the opening brace (e.g. if the braced list is nested), assume a zero-length identifier just before the opening brace. This behavior is gated on a new style flag, which for now replaces the SpacesInBracedLists style flag. Activate this style flag for Google style to reflect recent style guide changes. llvm-svn: 186433
-
Samuel Benzaquen authored
Summary: Add support for CXXCtorInitializer and TemplateArgument types to ASTNodeKind. This change is to support more matchers from clang/ASTMatchers/ASTMatchers.h in the dynamic layer (clang/ASTMatchers/Dynamic). Reviewers: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1143 llvm-svn: 186422
-
Fariborz Jahanian authored
parameters in ArrayRef'ize Sema::ActOnAtEnd to ArrayRef. Patch by Robert Wilhelm. llvm-svn: 186421
-
Manuel Klimek authored
llvm-svn: 186412
-
Manuel Klimek authored
As every match call can recursively call back into the memoized match via a nested traversal matcher (for example: stmt(hasAncestor(stmt(hasDescendant(stmt(hasDescendant(stmt()))))))), and every memoization step might clear the cache, we must not store iterators into the result cache when calling match on a submatcher. llvm-svn: 186411
-
Daniel Jasper authored
This fixes an incorrect detection that led to a formatting error. Before: some_var = function (*some_pointer_var)[0]; After: some_var = function(*some_pointer_var)[0]; llvm-svn: 186402
-
Tim Northover authored
Unfortunately I don't think there's a good way to validate branch targets on release builds. Fortunately it's a minor part of this test (and based on generic code) so I don't mind dropping it. llvm-svn: 186398
-
Tim Northover authored
This adds three overloaded intrinsics to Clang: T __builtin_arm_ldrex(const volatile T *addr) int __builtin_arm_strex(T val, volatile T *addr) void __builtin_arm_clrex() The intent is that these do what users would expect when given most sensible types. Currently, "sensible" translates to ints, floats and pointers. llvm-svn: 186394
-
Serge Pavlov authored
This fixes PR8256 and some others. llvm-svn: 186385
-
Craig Topper authored
llvm-svn: 186383
-
Eli Friedman authored
Not completely sure this is right, but it's clearly better than what we did before this commit (effectively dropping the attribute). <rdar://problem/14413117> llvm-svn: 186373
-
Eli Friedman authored
The record layout code didn't properly take into account that an empty class at offset 0 can have an alignment greater than 1. Patch by Andrea Di Biagio. llvm-svn: 186370
-
Fariborz Jahanian authored
declaration (not yet used). wip. llvm-svn: 186369
-
Eli Friedman authored
Make sure we call BuildFieldReferenceExpr with the appropriate decl when a member of an anonymous union is made public with a using decl. Also, fix a crash on invalid field access into an anonymous union. Fixes PR16630. llvm-svn: 186367
-
- Jul 15, 2013
-
-
David Blaikie authored
llvm-svn: 186351
-
Fariborz Jahanian authored
candidates for each class. wip. llvm-svn: 186349
-
Kaelyn Uhrain authored
llvm-svn: 186348
-
Kaelyn Uhrain authored
recovery is not attempted with the fixit. Also move the associated test case from FixIt/fixit.cpp to SemaCXX/member-expr.cpp since the fixit is no longer automatically applied. llvm-svn: 186342
-
Samuel Benzaquen authored
Summary: Fixup the type traversal macros/matchers to specify the supported types. Make the marshallers a little more generic to support any variadic function. Update the doc script. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1023 llvm-svn: 186340
-
Chandler Carruth authored
This breaks the build of basic patterns with repeated friend declarations. See the added test case in SemaCXX/friend.cpp or the test case reported to the original commit log. Original commit log: If we friend a declaration twice, that should not make it visible to name lookup in the surrounding context. Slightly rework how we handle friend declarations to inherit the visibility of the prior declaration, rather than setting a friend declaration to be visible whenever there was a prior declaration. llvm-svn: 186331
-
Daniel Jasper authored
Before: #define x ((int) - 1) #define p(q) ((int *) & q) After: #define x ((int)-1) #define p(q) ((int *)&q) llvm-svn: 186324
-
Daniel Jasper authored
Fixed a test that by now passed for the wrong reason. Before: llvm::outs() << "aaaaaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaaaaaaaaaa); After: llvm::outs() << "aaaaaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaa); Also reformatted Format.cpp with the latest changes (1 formatting fix and 1 layout change of a <<-chain). llvm-svn: 186322
-
Daniel Jasper authored
Before: llvm::outs() << "aaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaaaaa << "aaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaaaaa << "aaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaaaaa; After: llvm::outs() << "aaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaaaaa << "aaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaaaaa << "aaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaaaaa; llvm-svn: 186320
-
Aaron Ballman authored
llvm-svn: 186318
-
Craig Topper authored
llvm-svn: 186314
-
Serge Pavlov authored
does not substitute a sizeof-pack expression. The solution is proposed by Richard Smith. Differential Revision: http://llvm-reviews.chandlerc.com/D869 llvm-svn: 186306
-
Craig Topper authored
llvm-svn: 186305
-
Craig Topper authored
llvm-svn: 186302
-
Craig Topper authored
llvm-svn: 186300
-
- Jul 14, 2013
-
-
Eric Christopher authored
llvm-svn: 186294
-
Eric Christopher authored
BlockLiteralGenericSet and replace with a call to isType() on the BlockLiteralGeneric. llvm-svn: 186293
-
Eric Christopher authored
llvm-svn: 186292
-
Craig Topper authored
llvm-svn: 186287
-
Craig Topper authored
llvm-svn: 186286
-
Craig Topper authored
llvm-svn: 186285
-
Craig Topper authored
llvm-svn: 186284
-