- Feb 10, 2011
-
-
Devang Patel authored
llvm-svn: 125249
-
- Feb 09, 2011
-
-
Ted Kremenek authored
llvm-svn: 125235
-
Devang Patel authored
llvm-svn: 125230
-
Fariborz Jahanian authored
warning when same parameter name used multiple times. // rdar://8877730 llvm-svn: 125229
-
Peter Collingbourne authored
llvm-svn: 125219
-
Peter Collingbourne authored
llvm-svn: 125218
-
Peter Collingbourne authored
llvm-svn: 125217
-
Peter Collingbourne authored
llvm-svn: 125216
-
Devang Patel authored
llvm-svn: 125210
-
Douglas Gregor authored
since the diagnostic client might poke at source locations that have not yet been deserialized. llvm-svn: 125204
-
Daniel Dunbar authored
llvm-svn: 125201
-
Nick Lewycky authored
llvm-svn: 125185
-
John McCall authored
complaining. llvm-svn: 125184
-
John McCall authored
there were only three virtual methods of any significance. The primary way to grab child iterators now is with Stmt::child_range children(); Stmt::const_child_range children() const; where a child_range is just a std::pair of iterators suitable for being llvm::tie'd to some locals. I've left the old child_begin() and child_end() accessors in place, but it's probably a substantial penalty to grab the iterators individually now, since the switch-based dispatch is kindof inherently slower than vtable dispatch. Grabbing them together is probably a slight win over the status quo, although of course we could've achieved that with vtables, too. I also reclassified SwitchCase (correctly) as an abstract Stmt class, which (as the first such class that wasn't an Expr subclass) required some fiddling in a few places. There are somewhat gross metaprogramming hooks in place to ensure that new statements/expressions continue to implement getSourceRange() and children(). I had to work around a recent clang bug; dgregor actually fixed it already, but I didn't want to introduce a selfhosting dependency on ToT. llvm-svn: 125183
-
Zhanyong Wan authored
llvm-svn: 125182
-
Ted Kremenek authored
llvm-svn: 125179
-
NAKAMURA Takumi authored
llvm-svn: 125178
-
Devang Patel authored
llvm-svn: 125163
-
Ken Dyck authored
llvm-svn: 125158
-
Douglas Gregor authored
and we later find the definition, make sure that we add the definition (not the declaration) to the list of deferred definitions to emit. Fixes PR8864. Thanks to Nick Lewycky for testing this patch out llvm-svn: 125157
-
Ken Dyck authored
functionality intended. llvm-svn: 125156
-
Ted Kremenek authored
static analyzer: Further reduce the analyzer's memory usage when analyzing sqlite3 by 7-10% by recylcing "uninteresting" ExplodedNodes. The optimization involves eagerly pruning ExplodedNodes from the ExplodedGraph that contain practically no difference between the predecessor and successor nodes. For example, if the state is different between a predecessor and a node, the node is left in. Only for the 'environment' component of the state do we not care if the ExplodedNodes are different. This paves the way for future optimizations where we can reclaim the environment objects. llvm-svn: 125154
-
Ted Kremenek authored
llvm-svn: 125153
-
John McCall authored
Also, reorganize and make very explicit the logic for determining the value kind and type of a referenced declaration. llvm-svn: 125150
-
Devang Patel authored
destructor or copy constructor than let debug info know about it. Radar 8945514. llvm-svn: 125142
-
- Feb 08, 2011
-
-
Ted Kremenek authored
llvm-svn: 125131
-
Ted Kremenek authored
analyzer, retain/release checker: Remove hack where objects passed in message to 'self' are no longer tracked. llvm-svn: 125130
-
Rafael Espindola authored
llvm-svn: 125129
-
John McCall authored
linkage rather than the presence of the 'static' storage class specifier. Fixes rdar://problem/8814626. llvm-svn: 125126
-
Fariborz Jahanian authored
setter and getter types mismatch. // rdar://8966864 llvm-svn: 125125
-
Argyrios Kyrtzidis authored
Eventually there will also be a lib/StaticAnalyzer/Frontend that will handle initialization and checker registration. Yet another library to avoid cyclic dependencies between Core and Checkers. llvm-svn: 125124
-
Argyrios Kyrtzidis authored
[analyzer] lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.cpp -> lib/StaticAnalyzer/Checkers/ExperimentalChecks.cpp llvm-svn: 125123
-
Argyrios Kyrtzidis authored
[analyzer] lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.h -> lib/StaticAnalyzer/Checkers/ExperimentalChecks.h llvm-svn: 125122
-
Argyrios Kyrtzidis authored
[analyzer] lib/StaticAnalyzer/Checkers/ExprEngineInternalChecks.h -> lib/StaticAnalyzer/Checkers/InternalChecks.h llvm-svn: 125121
-
John McCall authored
llvm-svn: 125119
-
Douglas Gregor authored
record away from the core processor record. The tangling of these two data structures led to some inefficiencies (e.g., deserializing all of the detailed preprocessing record when we didn't need it, such as while performing code completion) along with some unnecessary ugliness. llvm-svn: 125117
-
Peter Collingbourne authored
llvm-svn: 125115
-
Peter Collingbourne authored
llvm-svn: 125114
-
Benjamin Kramer authored
llvm-svn: 125111
-
John McCall authored
llvm-svn: 125104
-