- Aug 16, 2011
-
-
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
-
Ted Kremenek authored
Cleanup various declarations of 'Stmt*' to be 'Stmt *', etc. in libAnalyzer and libStaticAnalyzer[*]. It was highly inconsistent, and very ugly to look at. llvm-svn: 137537
-
Chad Rosier authored
inputs that aren't preprocessable. llvm-svn: 137532
-
Chad Rosier authored
llvm-svn: 137531
-
Ted Kremenek authored
Having a notion of an actual ProgramPointTag will aid in introspection of the analyzer's behavior. For example, the GraphViz output of the analyzer will pretty-print the tags in a useful manner. llvm-svn: 137529
-
Anna Zaks authored
MacOSKeychainAPIChecker: If the allocated data address entered as an enclosing function parameter, skip it to avoid false positives. llvm-svn: 137526
-
Chad Rosier authored
[driver] Refactor a bit to enable a few fixes when generating diagnostics. No functional change intended. llvm-svn: 137524
-
- Aug 12, 2011
-
-
Anna Zaks authored
Report errors earlier: on checkDeadSymbols() and clear the state after the symbol we are tracking goes out of scope. Also, perform lazy error checking. Instead of forcing the paths to be split depending one the return value of the allocator, make the return symbol depend on the allocated data symbol, which prolongs its life span to the time when the allocated data symbol becomes dead. llvm-svn: 137523
-
Jordy Rose authored
time. One is cleanup, the other is me being OCD about enum group nesting. llvm-svn: 137517
-
Anna Zaks authored
MacOSKeychainAPIChecker: There is no need to use SymbolMetadata to represent the allocated data symbol, we can just use the symbol corresponding to the SymbolicRegion. This simplifies tracking of the symbol, for example, SymbolMetadata needs to go through extra hoops to stay alive. Make AllocationState internal to the MacOSKeychainAPIChecker class. llvm-svn: 137514
-
Jeffrey Yasskin authored
the C++0x narrowing error. llvm-svn: 137512
-
Fariborz Jahanian authored
attribute of a property. patch by Remy Demarest fixes it. llvm-svn: 137509
-
Ted Kremenek authored
[analyzer] Introduce new MemRegion, "TypedValueRegion", so that we can separate TypedRegions that implement getValueType() from those that don't. Patch by Olaf Krzikalla! llvm-svn: 137498
-
Richard Smith authored
llvm-svn: 137491
-
Chris Lattner authored
llvm-svn: 137472
-
Douglas Gregor authored
done and is likely to not work well anyway; take away this unnecessary complexity. llvm-svn: 137465
-
Ted Kremenek authored
Revert "Fix crash in CFGBuilder involving implicit destructor calls and gotos jumping after an object was declared. Fixes PR 10620." llvm-svn: 137459
-
Douglas Gregor authored
in the AST format, which are built lazily by the ASTContext when requested. llvm-svn: 137437
-
Douglas Gregor authored
AST file format, lazily generating the actual declaration in ASTContext as needed. llvm-svn: 137434
-
Douglas Gregor authored
AST file format, lazily generating the actual declaration in ASTContext as needed. llvm-svn: 137431
-
NAKAMURA Takumi authored
llvm-svn: 137430
-
Douglas Gregor authored
type over into the AST context, then make that declaration a predefined declaration in the AST format. This ensures that different AST files will at least agree on the (global) declaration ID for 'id', and eliminates one of the "special" types in the AST file format. llvm-svn: 137429
-
Ted Kremenek authored
Fix crash in CFGBuilder involving implicit destructor calls and gotos jumping after an object was declared. Fixes PR 10620. llvm-svn: 137426
-
Akira Hatanaka authored
llvm-svn: 137420
-