- May 23, 2009
-
-
Douglas Gregor authored
llvm-svn: 72299
-
Argyrios Kyrtzidis authored
llvm-svn: 72298
-
Douglas Gregor authored
llvm-svn: 72293
-
Douglas Gregor authored
llvm::SmallVector, using data() instead of &[0]. The PCH testsuite now runs cleanly (again). llvm-svn: 72292
-
Ted Kremenek authored
ProtoRefs.data() instead of &ProtoRefs[0] to access the raw buffer. llvm-svn: 72291
-
Ted Kremenek authored
is true. Because of recent changes to llvm::SmallVector, using these iterators when Exprs was empty would cause an assertion failure. This fixes: PR 4245. llvm-svn: 72286
-
- May 22, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 72284
-
Daniel Dunbar authored
non-argument names, pass the tokens through. llvm-svn: 72283
-
Douglas Gregor authored
call other member functions of class templates, including after template instantiation. No functionality change. llvm-svn: 72282
-
Douglas Gregor authored
expressions. This change introduces another AST node, CXXUnresolvedMemberExpr, that captures member references (x->m, x.m) when the base of the expression (the "x") is type-dependent, and we therefore cannot resolve the member reference yet. Note that our parsing of member references for C++ is still quite poor, e.g., we don't handle x->Base::m or x->operator int. llvm-svn: 72281
-
Argyrios Kyrtzidis authored
llvm-svn: 72280
-
Argyrios Kyrtzidis authored
(T(*)(int[x+y])); is an (invalid) paren expression, but "x+y" will be parsed as part of the (rejected) type-id, so unnecessary Action calls are made for an unused (and possibly leaked) "x+y". Use a different scheme, similar to parsing inline methods. The parenthesized tokens are cached, the context that follows is determined (possibly by parsing a cast-expression), and then we re-introduce the cached tokens into the token stream and parse them appropriately. llvm-svn: 72279
-
Argyrios Kyrtzidis authored
The TokenLexer may encounter annotations if the parser enters them using Preprocessor::EnterTokenStream. So check for annotation before using the Token's IdentifierInfo. llvm-svn: 72278
-
Fariborz Jahanian authored
compiled with -fobjc-sender-dependent-dispatch. This is used in AOP, COP, implementing object planes, and a few other things. Patch by David Chisnall. llvm-svn: 72275
-
Fariborz Jahanian authored
llvm-svn: 72274
-
Mike Stump authored
improve codegen in some cases. llvm-svn: 72273
-
Daniel Dunbar authored
- We could just warn about -fno-unit-at-a-time, but in practice people using it probably aren't going to get what they want out of clang. Also, use "clang" specified error for unsupported things instead of driver unsupported error. llvm-svn: 72272
-
Daniel Dunbar authored
- PR4242. llvm-svn: 72268
-
Fariborz Jahanian authored
and objects of this class are derived from 'NSProxy'. Under such conditions, which means that every method possible is implemented in the class, we should not issue "Method definition not found" warnings. llvm-svn: 72267
-
Argyrios Kyrtzidis authored
There are no unnecessary action calls period (courtesy of the annotation scheme) and too many 'this means'.. llvm-svn: 72263
-
Sanjiv Gupta authored
Targets like PIC16 generate Static decls for automatic variables, emit the appropriate debug descriptor as well in that case. llvm-svn: 72261
-
Argyrios Kyrtzidis authored
Handle correctly a very ugly part of the C++ syntax. We cannot disambiguate between a parenthesized type-id and a paren expression without considering the context past the parentheses. Behold: (T())x; - type-id (T())*x; - type-id (T())/x; - expression (T()); - expression llvm-svn: 72260
-
Argyrios Kyrtzidis authored
Factor the compound literal parsing out from ParseParenExpression and into a new ParseCompoundLiteralExpression. No functionality change. llvm-svn: 72259
-
Argyrios Kyrtzidis authored
Now it parses the cast expression unless 'stopIfCastExpr' is true. llvm-svn: 72258
-
Argyrios Kyrtzidis authored
Embed its functionality into it's only user, ParseCXXCasts. CXXCasts now get the "actual" expression directly, they no longer always receive a ParenExpr. This is better since the parentheses are always part of the C++ casts syntax. llvm-svn: 72257
-
Argyrios Kyrtzidis authored
'ParseExprAfterTypeofSizeofAlignof' method. llvm-svn: 72256
-
Argyrios Kyrtzidis authored
-Makes typeof consistent with sizeof/alignof -Fixes a bug when '>' is in a typeof expression, inside a template type param: A<typeof(x>1)> a; llvm-svn: 72255
-
Zhongxing Xu authored
llvm-svn: 72252
-
Torok Edwin authored
This attempts to fix PR4239. llvm-svn: 72251
-
Daniel Dunbar authored
- This commit has some messy stuff in it to extend string lifetimes, but that will go away once we switch to using the enum'd Triple interfaces. llvm-svn: 72243
-
Daniel Dunbar authored
llvm-svn: 72241
-
Eli Friedman authored
llvm-svn: 72240
-
Daniel Dunbar authored
llvm-svn: 72238
-
Douglas Gregor authored
llvm-svn: 72237
-
Douglas Gregor authored
llvm-svn: 72236
-
Douglas Gregor authored
llvm-svn: 72234
-
Douglas Gregor authored
can. Also, delay semantic analysis of initialization for value-dependent as well as type-dependent expressions, since we can't always properly type-check a value-dependent expression. llvm-svn: 72233
-
- May 21, 2009
-
-
Douglas Gregor authored
llvm-svn: 72229
-
Douglas Gregor authored
llvm-svn: 72228
-
Mike Stump authored
evaluated first. This can also improve codegen just a bit as we might have another register to play with for the evaluation of the rhs. llvm-svn: 72226
-