- Aug 13, 2011
-
-
Eli Friedman authored
llvm-svn: 137535
-
Chad Rosier authored
inputs that aren't preprocessable. llvm-svn: 137532
-
Chad Rosier authored
llvm-svn: 137531
-
Ted Kremenek authored
llvm-svn: 137530
-
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
llvm-svn: 137508
-
Ted Kremenek authored
llvm-svn: 137507
-
Ted Kremenek authored
llvm-svn: 137506
-
Ted Kremenek authored
llvm-svn: 137505
-
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
-
NAKAMURA Takumi authored
llvm-svn: 137435
-
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
-
Craig Topper authored
llvm-svn: 137427
-
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
-
Craig Topper authored
llvm-svn: 137422
-
Akira Hatanaka authored
llvm-svn: 137420
-
NAKAMURA Takumi authored
include/clang/Config/config.h.cmake: Reorder and reword to follow (generated) llvm/Config/config.h.in. llvm-svn: 137415
-
Akira Hatanaka authored
llvm-svn: 137411
-
Douglas Gregor authored
eliminating a pile of redundant code (and probably some bugs in the process). The variation between chained and non-chained PCH is fairly small now anyway. llvm-svn: 137410
-
Bill Wendling authored
llvm-svn: 137409
-
Nick Lewycky authored
called on another global variable. Use ManagedStatic to ensure that the global we register with actually exists when we need it. llvm-svn: 137406
-
Anna Zaks authored
1) Change SymbolDependTy map to keep pointers as data. And other small tweaks like making the DenseMap smaller 64->16 elements; remove removeSymbolDependencies() as it will probably not be used. 2) Do not mark dependents live more then once. llvm-svn: 137401
-
Douglas Gregor authored
declaration that never actually gets serialized. Instead, serialize the various kinds of update records (lexical decls, visible decls, the addition of an anonymous namespace) for the translation unit, even if we're not chaining. This way, we won't have to deal with multiple loaded translation unit declarations. llvm-svn: 137395
-
Argyrios Kyrtzidis authored
No test case, sorry. It's one of those bugs where it's really really hard to make one. rdar://9910862. llvm-svn: 137383
-
Ted Kremenek authored
llvm-svn: 137382
-