- Aug 31, 2010
-
-
Chandler Carruth authored
terrible, FIXME left to do a proper job of diagnosing this. llvm-svn: 112581
-
Douglas Gregor authored
llvm-svn: 112580
-
Douglas Gregor authored
declaration send or a variadic function call, collapse the ", ..." into the parameter before it, so that we don't get a second placeholder. llvm-svn: 112579
-
Douglas Gregor authored
Teach the CFGBuilder not do die on CXXBindTemporaryExpr, CXXOperatorCallExpr. Fixes a Boost.Graph crasher. llvm-svn: 112578
-
Sebastian Redl authored
llvm-svn: 112577
-
Ted Kremenek authored
llvm-svn: 112569
-
Sebastian Redl authored
llvm-svn: 112566
-
Sebastian Redl authored
Add a forgotten place where the enclosing namespace set matters, plus a big testcase for inline namespace fun. llvm-svn: 112565
-
Sebastian Redl authored
llvm-svn: 112564
-
Sebastian Redl authored
Rename DeclContext::getLookupContext to getRedeclContext and change its semantics slightly. No functionality change in the absence of inline namespaces. Also, change a few places where inline namespaces actually make a difference to be prepared for them. llvm-svn: 112563
-
Sebastian Redl authored
Decl::getEnclosingNamespaceContext has no reason to explicitly skip transparent contexts, and would be wrong to do so with inline namespaces. llvm-svn: 112562
-
Douglas Gregor authored
instantiating the parameters. In a perfect world, this wouldn't matter, and compilers are free to instantiate in any order they want. However, every other compiler seems to instantiate the return type first, and some code (in this case, Boost.Polygon) depends on this and SFINAE to avoid instantiating something that shouldn't be instantiated. We could fight this battle, and insist that Clang is allowed to do what it does, but it's not beneficial: it's more predictable to instantiate this way, in source order. When we implement late-specified return types, we'll need to instantiate the return type last when it was late-specified, hence the FIXME. We now compile Boost.Polygon properly. llvm-svn: 112561
-
Douglas Gregor authored
llvm-svn: 112552
-
Douglas Gregor authored
of that parameter, reduce the level by the number of active template argument lists rather than by 1. The number of active template argument lists is only > 1 when we have a class template partial specialization of a member template of a class template that itself is a member template of another class template. ... and Boost.MSM does this. Fixes PR7669. llvm-svn: 112551
-
Chris Lattner authored
llvm-svn: 112549
-
Gabor Greif authored
llvm-svn: 112541
-
Chris Lattner authored
llvm-svn: 112537
-
- Aug 30, 2010
-
-
Gabor Greif authored
namely when the friend function prototype is already used at the point of the template definition that is supposed to inject the friend function. Testcase verifies four scenarios. I would like receive some code review for this. llvm-svn: 112524
-
Douglas Gregor authored
deduction where the parameter is a function reference, function pointer, or member function pointer and the argument is an overloaded function. Fixes <rdar://problem/8360106>, a template argument deduction issue found by Boost.Filesystem. llvm-svn: 112523
-
Bob Wilson authored
intrinsic. llvm-svn: 112504
-
Tom Care authored
- Fixed a regression where assigning '0' would be reported - Changed the way self assignments are filtered to allow constant testing - Added a test case for assign ops - Fixed one test case where a function pointer was not considered constant - Fixed test cases relating to 0 assignment llvm-svn: 112501
-
Alexis Hunt authored
some issues being sorted out. llvm-svn: 112493
-
Chris Lattner authored
llvm-svn: 112491
-
Chris Lattner authored
llvm-svn: 112490
-
Douglas Gregor authored
ASTContext::DeclAttrs. Otherwise, iterators will go stale when the DenseMap reallocates, which can cause crashes when, e.g., looping over the attributes in a template to instantiate them and add the results to the instantiation of that template. llvm-svn: 112488
-
Douglas Gregor authored
when we're taking the address of a unresolvable value, it might be an implicit member access. Fixes some Boost.Spirit regressions. llvm-svn: 112487
-
Douglas Gregor authored
#pragma without requiring it to be in the "clang" namespace, from Louis Gerbarg! llvm-svn: 112484
-
Douglas Gregor authored
specifications, from Martin Vejnar! llvm-svn: 112482
-
Douglas Gregor authored
the pp-number in a hexadecimal floating point literal, from Francois Pichet! Fixes PR7968. llvm-svn: 112481
-
Douglas Gregor authored
llvm-svn: 112478
-
Douglas Gregor authored
case with redeclaration checking for fields, from Faisal Vali! Fixes PR7970. llvm-svn: 112476
-
Douglas Gregor authored
llvm-svn: 112475
-
Duncan Sands authored
before using them. llvm-svn: 112468
-
Alexis Hunt authored
- Zero-initialize UDLData so that crashes stop - Stop complaining that we can't emit them (we most certainly can) llvm-svn: 112467
-
Chandler Carruth authored
so please review echristo and let me know if the logic is wrong now. llvm-svn: 112466
-
- Aug 29, 2010
-
-
Alexis Hunt authored
The extra data stored on user-defined literal Tokens is stored in extra allocated memory, which is managed by the PreprocessorLexer because there isn't a better place to put it that makes sure it gets deallocated, but only after it's used up. My testing has shown no significant slowdown as a result, but independent testing would be appreciated. llvm-svn: 112458
-
Douglas Gregor authored
the parameter names from the completions, e.g., provide withString:(NSString *) instead of withString:(NSString *)string since the parameter name is, by convention, redundant with the selector piece that precedes it and the completions can get unnecessarily long. llvm-svn: 112456
-
Douglas Gregor authored
of prioritizing just by initialization order, we bump the priority of just the *next* initializer in the list, and leave everything else at the normal priority. That way, if one intentionally skips the initialization of a base or member (to get default initialization), we'll still get ordered completion for the rest. llvm-svn: 112454
-
Fariborz Jahanian authored
statement header (fixes radar 8295106). llvm-svn: 112443
-
Zhongxing Xu authored
llvm-svn: 112414
-