- Dec 14, 2009
-
-
rdar://problem/7468209Ted Kremenek authored
Fix: <rdar://problem/7468209> SymbolManager::isLive() should not crash on captured block variables that are passed by reference llvm-svn: 91348
-
Mike Stump authored
llvm-svn: 91347
-
Chris Lattner authored
on 64-bit targets. Pass Preprocessor into create/destroy methods of MacroArgs even though it isn't used yet. llvm-svn: 91345
-
Chris Lattner authored
llvm-svn: 91343
-
Mike Stump authored
llvm-svn: 91341
-
Fariborz Jahanian authored
an Objective-C rethrow nested inside another try/catch block. (fixes radar 7466728). llvm-svn: 91335
-
Douglas Gregor authored
llvm-svn: 91325
-
Mike Stump authored
llvm-svn: 91324
-
Douglas Gregor authored
llvm-svn: 91323
-
Douglas Gregor authored
- During instantiation, drop default arguments from constructor and call expressions; they'll be recomputed anyway, and we don't want to instantiate them twice. - Rewrote the instantiation of variable initializers to cope with non-dependent forms properly. Together, these fix a handful of problems I introduced with the switch to always rebuild expressions from the source code "as written." llvm-svn: 91315
-
Douglas Gregor authored
isn't turned on anyway yet, so it cannot be tested. llvm-svn: 91294
-
Douglas Gregor authored
CompleteConstructorCall to perform type-checking. llvm-svn: 91279
-
Chris Lattner authored
files: PR5238. llvm-svn: 91270
-
Nate Begeman authored
llvm-svn: 91269
-
rdar://7466570Chris Lattner authored
expanding directives withing macro expansions. This is undefined behavior according to 6.10.3p11, so we might as well be undefined in ways similar to GCC. llvm-svn: 91266
-
Nate Begeman authored
llvm-svn: 91264
-
Chris Lattner authored
llvm-svn: 91263
-
Chris Lattner authored
llvm-svn: 91262
-
Zhongxing Xu authored
llvm-svn: 91258
-
Anders Carlsson authored
llvm-svn: 91257
-
Anders Carlsson authored
llvm-svn: 91256
-
Anders Carlsson authored
llvm-svn: 91255
-
- Dec 13, 2009
-
-
Douglas Gregor authored
conversion to void*" according to C++ [over.ics.rank]p4b2 if the type we're converting from is not a pointer. llvm-svn: 91254
-
Douglas Gregor authored
from a PointerType. Fixes PR5756. llvm-svn: 91253
-
Douglas Gregor authored
operators. Fixes PR5266. llvm-svn: 91252
-
Anders Carlsson authored
llvm-svn: 91251
-
Anders Carlsson authored
Fix regression in my last commit - if a struct has a trivial destructor but no usual deallocation function we don't need a cookie. llvm-svn: 91249
-
Anders Carlsson authored
llvm-svn: 91247
-
Anders Carlsson authored
If the usual array deallocation function of a class takes two arguments, we need to pass the number of bytes allocated to the deallocation function, just not the number of bytes in a single element. llvm-svn: 91246
-
Anders Carlsson authored
llvm-svn: 91244
-
Anders Carlsson authored
Change the RTTIBuilder's finish member function to take a pointer to the constants array + the length of the array. llvm-svn: 91241
-
Daniel Dunbar authored
Lift builtin-include-path logic out of ASTUnit::LoadFromCommandLine and fix CIndex to pass in the right directory (previously it was using the path to the main executable, which generally is wrong). llvm-svn: 91238
-
Daniel Dunbar authored
llvm-svn: 91237
-
Chandler Carruth authored
llvm-svn: 91234
-
Daniel Dunbar authored
llvm-svn: 91229
-
- Dec 12, 2009
-
-
Fariborz Jahanian authored
(fixes radar 7466494). llvm-svn: 91227
-
Douglas Gregor authored
implicitly-generated AST nodes. We previously built instantiated nodes for each of these AST nodes, then passed them on to Sema, which was not prepared to see already-type-checked nodes (see PR5755). In some places, we had ugly workarounds to try to avoid re-type-checking (e.g., in VarDecl initializer instantiation). Now, we skip implicitly-generated nodes when performing instantiation, preferring instead to build just the AST nodes that directly reflect what was written in the source code. This has several advantages: - We don't need to instantiate anything that doesn't have a direct correlation to the source code, so we can have better location information. - Semantic analysis sees the same thing at template instantiation time that it would see for a non-template. - At least one ugly hack (VarDecl initializers) goes away. Fixes PR5755. llvm-svn: 91218
-
Zhongxing Xu authored
llvm-svn: 91216
-
John McCall authored
llvm-svn: 91215
-
Douglas Gregor authored
in a potentially potentially evaluated context, queue those diagnostics and only emit them if the context ends up being potentially evaluated. This completes the fix for PR5761. llvm-svn: 91213
-