- Aug 01, 2008
-
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 54265
-
- Jul 26, 2008
-
-
Chris Lattner authored
last client of the old ParseObjCProtocolReferences, so it also removes it. llvm-svn: 54094
-
Chris Lattner authored
llvm-svn: 54093
-
Chris Lattner authored
This temporarily duplicates ParseObjCProtocolReferences, but it will be removed in the future. llvm-svn: 54092
-
Chris Lattner authored
llvm-svn: 54091
-
- Jul 25, 2008
-
-
Chris Lattner authored
llvm-svn: 54066
-
Ted Kremenek authored
llvm-svn: 53998
-
- Jul 22, 2008
-
-
Daniel Dunbar authored
This closes <rdar://problem/6080720>, support for __builtin_constant_p has been filed separately. llvm-svn: 53885
-
Chris Lattner authored
of a specific smallvector size. Fix protocol lists to pass down proper location info, so we get diagnostics like this: t.m:3:35: error: cannot find protocol definition for 'NSCopying', referenced by 'NSWhatever' @interface NSWhatever : NSObject <NSCopying> ^ instead of this: t.m:3:44: error: cannot find protocol definition for 'NSCopying', referenced by 'NSWhatever' @interface NSWhatever : NSObject <NSCopying> ^ Add a new IdentifierLocPair typedef which is just a pair<IdentifierInfo*, SourceLocation> llvm-svn: 53883
-
- Jul 21, 2008
-
-
Chris Lattner authored
llvm-svn: 53821
-
- Jul 14, 2008
-
-
Nate Begeman authored
Add some code to handle vector comparisons, which is the language side of the llvm vicmp/vfcmp instructions. Also make the vector-vector and vector-scalar asign checks a bit more sane under the presence of lax vector conversions. llvm-svn: 53565
-
- Jul 01, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 52956
-
- Jun 29, 2008
-
-
Chris Lattner authored
llvm-svn: 52881
-
Chris Lattner authored
static functions instead of methods on sema. llvm-svn: 52880
-
Chris Lattner authored
anyway, so there is no real loss here. Start making attribute processing methods static functions instead of methods on Sema. llvm-svn: 52879
-
Chris Lattner authored
decl attributes out of the various places they can hide. This makes us correctly reject things like this: t.c:2:22: error: mode attribute only supported for integer and floating-point types int **__attribute((mode(HI)))* i32; ^ because you can't make a pointer be HImode. llvm-svn: 52876
-
Chris Lattner authored
the implementation of ProcessDeclAttributes. llvm-svn: 52875
-
Chris Lattner authored
llvm-svn: 52874
-
Chris Lattner authored
to work list the rest of the attr handlers. Also, rename it to HandleVectorSizeAttribute to match its attr name. No functionality change. llvm-svn: 52872
-
Chris Lattner authored
the single attribute they look at by reference instead of by pointer. This is a subtle indicator that they take the specified attribute, not a whole list of them. This also make HandleExtVectorTypeAttribute work the same way as the rest of the attributes, adds some comments etc. No functionality change. llvm-svn: 52871
-
- Jun 28, 2008
-
-
Argyrios Kyrtzidis authored
Replace CurFunctionDecl and CurMethodDecl with methods getCurFunctionDecl() and getCurMethodDecl() that return the appropriate Decl through CurContext. llvm-svn: 52852
-
Chris Lattner authored
SemaDeclAttr, and do some cleanups. llvm-svn: 52844
-
- Jun 26, 2008
-
-
Chris Lattner authored
cases where mutation can introduce bugs. Propagate around 'const'. llvm-svn: 52772
-
Chris Lattner authored
used to mutate the attribute list for declspecs when the type was converted, breaking the case where one declspec was shared by multiple declarators. This fixes rdar://6032532. llvm-svn: 52769
-
- Jun 25, 2008
-
-
Argyrios Kyrtzidis authored
Note that Parser::ParseCXXMemberSpecification is temporarily disabled until the Sema support is in place. Once ParseCXXMemberSpecification is enabled, the Parser/cxx-class.cpp test will pass. llvm-svn: 52694
-
- Jun 21, 2008
-
-
Chris Lattner authored
Patch by David Chisnall! llvm-svn: 52586
-
- Jun 17, 2008
-
-
Chris Lattner authored
Patch by David Chisnall! llvm-svn: 52422
-
- Jun 16, 2008
-
-
Ted Kremenek authored
Patch by Nikita Zhuk! llvm-svn: 52336
-
- Jun 08, 2008
-
-
Nuno Lopes authored
llvm-svn: 52092
-
- Jun 06, 2008
-
-
Eli Friedman authored
llvm-svn: 52054
-
- Jun 03, 2008
-
-
Eli Friedman authored
moves the check for the invalid construct to a point where it doesn't affect other uses of isIntegerConstantExpr, and we can warn properly when the extension is used. This makes it a bit more complicated, but it's a lot cleaner. Steve, please tell me if this check is sufficient to handle the relevant system header. I know it's enough to handle the testcase, but I don't know what exactly the original looks like. llvm-svn: 51918
-
- May 27, 2008
-
-
Eli Friedman authored
it fixes PR2204. Not too much to say about the implementation; it works in a similar way to the vector size attribute. At some point, we need to modify the targets to provide information about the appropriate types. llvm-svn: 51577
-
- May 20, 2008
-
-
Eli Friedman authored
in Sema, per discussion on mailing list. This doesn't cause any changes in the test results. I'll probably add some more tests at some point, but it's an open question what we need to accept to be compatible with real code. This doesn't touch the existing isConstantExpr method on Expr; that should be addressed somehow eventually (either removed or refined to whatever is appropriate). llvm-svn: 51318
-
Eli Friedman authored
Sema. No codegen yet. llvm-svn: 51307
-
- May 19, 2008
-
-
Eli Friedman authored
caused by enabling SemaInit. llvm-svn: 51261
-
- May 14, 2008
-
-
Eli Friedman authored
expressing the full flexibility of the LLVM shufflevector instruction. The expected immediate usage is in *mmintrin.h, so that they don't depend on the mess of gcc-inherited (and not completely implemented) shuffle builtins. llvm-svn: 51113
-
- May 07, 2008
-
-
Douglas Gregor authored
llvm-svn: 50799
-
- May 06, 2008
-
-
Fariborz Jahanian authored
(was IdentifierInfo * before). This will make method declartations whole lot easier. llvm-svn: 50747
-
Steve Naroff authored
Several fixes to SemaInit.cpp. It's still not enabled (since it fails a few tests). Expect to enable it very soon. llvm-svn: 50688
-
- May 05, 2008
-
-
Fariborz Jahanian authored
properties declared in the protocol. llvm-svn: 50662
-