- Aug 17, 2011
-
-
Benjamin Kramer authored
This is ugly but ISO C++ doesn't allow direct casts. llvm-svn: 137812
-
NAKAMURA Takumi authored
[MSVC] Fix a warning C4334 "'operator' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)". llvm-svn: 137803
-
Jordy Rose authored
llvm-svn: 137802
-
Francois Pichet authored
llvm-svn: 137799
-
Argyrios Kyrtzidis authored
llvm-svn: 137795
-
Argyrios Kyrtzidis authored
If we pass it a source location that points inside a function macro argument, the returned location will be the macro location in which the argument was expanded. If a macro argument is used multiple times, the expanded location will be at the first expansion of the argument. e.g. MY_MACRO(foo); ^ Passing a file location pointing at 'foo', will yield a macro location where 'foo' was expanded into. Make SourceManager::getLocation call getMacroArgExpandedLocation as well. llvm-svn: 137794
-
Argyrios Kyrtzidis authored
llvm-svn: 137793
-
Argyrios Kyrtzidis authored
[PCH] When writing out ExpansionInfo, make sure we don't lose track if it's a macro arg expansion or not. llvm-svn: 137792
-
Chandler Carruth authored
llvm-svn: 137780
-
- Aug 16, 2011
-
-
Ted Kremenek authored
[analyzer] teach ExprEngine about loads from static C++ class fields. Fixes <rdar://problem/9948787>. llvm-svn: 137760
-
Jordy Rose authored
[analyzer] Overhaul of checker registration in preparation for basic plugin support. Removes support for checker groups (we can add them back in later if we decide they are still useful), and -analyzer-checker-help output is a little worse for the time being (no packages). llvm-svn: 137758
-
Devang Patel authored
llvm-svn: 137750
-
Anna Zaks authored
llvm-svn: 137740
-
Anna Zaks authored
llvm-svn: 137720
-
Ted Kremenek authored
[analyzer] Enhance ConditionVisitor to handle arbitrary ValueDecls in binary expressions, and also handle inverting the order of comparison when the named decl appears on the RHS. llvm-svn: 137714
-
Ted Kremenek authored
llvm-svn: 137708
-
Ted Kremenek authored
[analyzer] Enhance ConditionVisitor to understand eagerly evaluated (simple) binary conditions, and teach it to only focus on constraint changes. llvm-svn: 137705
-
Ted Kremenek authored
[analyzer] add ExprEngine::getEagerlyAssumedTags() to allow externally querying of "eagerly assumed" expressions. llvm-svn: 137704
-
Ted Kremenek authored
llvm-svn: 137697
-
Anna Zaks authored
MacOSKeychainAPIChecker: The security API/memory leak checker should always generate regular nodes instead of sink nodes. llvm-svn: 137681
-
Ted Kremenek authored
llvm-svn: 137677
-
Devang Patel authored
llvm-svn: 137674
-
Eric Christopher authored
test over from llvm/test/FrontendC++ and update others to account for the change. llvm-svn: 137669
-
Ted Kremenek authored
llvm-svn: 137665
-
- Aug 15, 2011
-
-
Richard Smith authored
llvm-svn: 137653
-
Bob Wilson authored
Outside the driver, they were already treated that way, but the driver was not giving them the same special treatment as -fapple-kext, e.g., falling back to llvm-gcc for i386/Darwin kexts. Radar 9868422. llvm-svn: 137639
-
Bob Wilson authored
llvm-svn: 137638
-
Anna Zaks authored
MacOSKeychainAPIChecker: Use llvm::SmallString instead of std::string (as per code review for r137523). llvm-svn: 137633
-
Matt Beaumont-Gay authored
llvm-svn: 137620
-
Douglas Gregor authored
conversion to initialize the standard conversion *after* the user-defined conversion properly. Fixes PR10644. llvm-svn: 137608
-
- Aug 14, 2011
-
-
Francois Pichet authored
llvm-svn: 137585
-
Eli Friedman authored
llvm-svn: 137574
-
Francois Pichet authored
Implement function template specialization at class scope extension in Microsoft mode. A new AST node is introduced: ClassScopeFunctionSpecialization. This node holds a FunctionDecl that is not yet specialized; then during the class template instantiation the ClassScopeFunctionSpecialization will spawn the actual function specialization. Example: template <class T> class A { public: template <class U> void f(U p) { } template <> void f(int p) { } // <== class scope specialization }; This extension is necessary to parse MSVC standard C++ headers, MFC and ATL code. BTW, with this feature in, clang can parse (-fsyntax-only) all the MSVC 2010 standard header files without any error. llvm-svn: 137573
-
NAKAMURA Takumi authored
In fact, they are false warnings but it seems g++-4.4 might be unable to know they must be false. llvm-svn: 137568
-
Bob Wilson authored
Since -mkernel implies -fapple-kext, this just extends the current behavior for -fapple-kext to apply for -mkernel as well. Radar 9933387. llvm-svn: 137566
-
Nico Weber authored
Matches gcc, and is also required for using ccache with clang. llvm-svn: 137563
-
- Aug 13, 2011
-
-
Nico Weber authored
This is the ObjC++ version of r129201. It's for example needed to use ccache with clang. llvm-svn: 137560
-
Jeffrey Yasskin authored
llvm-svn: 137552
-
Bob Wilson authored
Unlike most of the other Neon intrinsics, these are not overloaded and do not have the extra argument that specifies the vector type. This has not been fatal because the lane number operand is supposed to be an ICE and so that value has harmlessly been used as the type identifier. Radar 9901281. llvm-svn: 137550
-
Chad Rosier authored
llvm-svn: 137539
-