- Oct 24, 2011
-
-
Ted Kremenek authored
Rename AnalysisContext to AnalysisDeclContext. Not only is this name more accurate, but it frees up the name AnalysisContext for other uses. llvm-svn: 142782
-
- Oct 23, 2011
-
-
Peter Collingbourne authored
llvm-svn: 142760
-
Peter Collingbourne authored
in-class member initialisers). llvm-svn: 142758
-
Peter Collingbourne authored
llvm-svn: 142757
-
Peter Collingbourne authored
llvm-svn: 142756
-
Peter Collingbourne authored
instead of silently discarding them. As a side effect, this improves diagnostics for constexpr class templates slightly. llvm-svn: 142755
-
Ted Kremenek authored
[analyzer] Remove LocationContext creation methods from AnalysisManager, and change clients to use AnalysisContext instead. WIP to remove/reduce ExprEngine's usage of AnalysisManager. llvm-svn: 142739
-
- Oct 22, 2011
-
-
Bob Wilson authored
llvm-svn: 142734
-
Richard Smith authored
const expression evaluation subclasses, and remove some APValue copying and malloc traffic in the process. llvm-svn: 142733
-
Benjamin Kramer authored
llvm-svn: 142730
-
Benjamin Kramer authored
llvm-svn: 142725
-
NAKAMURA Takumi authored
lib/Driver/Tools.cpp: Use PathV2::is_absolute() to add -fdebug-compilation-dir. pwd[0] might not be '/' on Win32 hosts. llvm-svn: 142720
-
Ted Kremenek authored
Only emit implicit constant conversion truncation warnings in reachable code. Apparently this is what GCC does, and some code depends on this. Fixes <rdar://problem/10321089>. llvm-svn: 142716
-
Ted Kremenek authored
llvm-svn: 142714
-
Ted Kremenek authored
llvm-svn: 142713
-
Fariborz Jahanian authored
llvm-svn: 142711
-
Fariborz Jahanian authored
None private methods if their implementation have attribute, they must exactly match those in their declarations. // rdar://10271563 llvm-svn: 142709
-
Akira Hatanaka authored
- Size of long double is 16 bytes for both N32 and N64. - Size of pointers and long is 8 bytes for N64. llvm-svn: 142705
-
Eric Christopher authored
for the function type. Update a testcase accordingly. Patch initially by Anders Waldenborg! llvm-svn: 142700
-
Argyrios Kyrtzidis authored
in such a case just write out a reference of a previously serialized Stmt, instead of serializing it all over again. This saves memory + space + [de]serializing time, and avoids blowing up memory with pathological cases. rdar://10293911 llvm-svn: 142696
-
Argyrios Kyrtzidis authored
llvm-svn: 142695
-
Eli Friedman authored
llvm-svn: 142694
-
Fariborz Jahanian authored
class declaration which forces any such class and any class that inherits from such a class to have their typeinfo symbols be marked as weak. // rdar://10246395 A test/CodeGenCXX/weak-extern-typeinfo.cpp M lib/Sema/SemaDeclCXX.cpp M lib/Sema/SemaDeclAttr.cpp M lib/CodeGen/CGRTTI.cpp llvm-svn: 142693
-
- Oct 21, 2011
-
-
DeLesley Hutchins authored
llvm-svn: 142685
-
DeLesley Hutchins authored
llvm-svn: 142666
-
DeLesley Hutchins authored
llvm-svn: 142665
-
Fariborz Jahanian authored
ivars in class extensions. // rdar://10309454 llvm-svn: 142664
-
DeLesley Hutchins authored
llvm-svn: 142654
-
Douglas Gregor authored
be sure to consider all of the possible lookup results. We were assert()'ing (but behaving correctly) for unresolved values. Fixes PR11134 / <rdar://problem/10290422>. llvm-svn: 142652
-
Peter Collingbourne authored
llvm-svn: 142649
-
Douglas Gregor authored
keyword, because both libstdc++ and libc++ use "__except" as an identifier. Fixes <rdar://problem/10322555>. llvm-svn: 142636
-
Sean Callanan authored
addDeclInternal(). This function suppresses any calls to FindExternalVisibleDeclsByName() while a Decl is added to a DeclContext. This behavior is required for the ASTImporter, because in the case of the LLDB client the ASTImporter would be called recursively to import the visible decls, which leads to assertions because the recursive call is seeing partially-formed types. I also modified the ASTImporter to use addDeclInternal() in all places where it would otherwise use addDecl(). This fix should not affect the rest of Clang, passes Clang's testsuite, and fixes several serious LLDB bugs. llvm-svn: 142634
-
Nick Lewycky authored
closer to what GCC does, except that GCC also checks that the inodes for $PWD and '.' match. llvm-svn: 142633
-
- Oct 20, 2011
-
-
Richard Smith authored
but trivially constructible and destructible variables in C++11 mode. Also incidentally improve the precision of the wording for jump diagnostics in C++98 mode. llvm-svn: 142619
-
Douglas Gregor authored
the anonymous union as valid: our fixes have Fix-Its. llvm-svn: 142616
-
Richard Smith authored
gcc's behaviour), and a -Wc++98-compat-pedantic warning for C++11. llvm-svn: 142597
-
Douglas Gregor authored
shadows a template parameter. Complain about the shadowing (or not, under -fms-extensions), but don't invalidate the declaration. Merely forget about the template parameter declaration. llvm-svn: 142596
-
Douglas Gregor authored
*wrong* class scope. This is one of the problems behind <rdar://problem/9676205>. llvm-svn: 142588
-
Douglas Gregor authored
actually just has an extraneous 'template<>' header, strip off the 'template<>' header and treat it as a normal friend tag. Fixes PR10660 / <rdar://problem/9958322>. llvm-svn: 142587
-
-