- Jan 25, 2010
-
-
Ted Kremenek authored
(1) libAnalysis is a generic analysis library that can be used by Sema. It defines the CFG, basic dataflow analysis primitives, and inexpensive flow-sensitive analyses (e.g. LiveVariables). (2) libChecker contains the guts of the static analyzer, incuding the path-sensitive analysis engine and domain-specific checks. Now any clients that want to use the frontend to build their own tools don't need to link in the entire static analyzer. This change exposes various obvious cleanups that can be made to the layout of files and headers in libChecker. More changes pending. :) This change also exposed a layering violation between AnalysisContext and MemRegion. BlockInvocationContext shouldn't explicitly know about BlockDataRegions. For now I've removed the BlockDataRegion* from BlockInvocationContext (removing context-sensitivity; although this wasn't used yet). We need to have a better way to extend BlockInvocationContext (and any LocationContext) to add context-sensitivty. llvm-svn: 94406
-
Chris Lattner authored
llvm-svn: 94404
-
Chris Lattner authored
llvm-svn: 94403
-
-
Chris Lattner authored
llvm-svn: 94401
-
Daniel Dunbar authored
llvm-svn: 94397
-
Daniel Dunbar authored
llvm-svn: 94396
-
Daniel Dunbar authored
line -- they may be remapped (fake) files. This is useful for testing parsing entirely from memory. llvm-svn: 94395
-
Daniel Dunbar authored
llvm-svn: 94394
-
Daniel Dunbar authored
llvm-svn: 94393
-
Daniel Dunbar authored
llvm-svn: 94392
-
Daniel Dunbar authored
asserts in cursor construction functions to make this more obvious. Doug, please check. c-index-test would previously crash on this code: -- for(;;) {} -- Do we need a custom visit of the for statement to cover the variable declarations? llvm-svn: 94391
-
- Jan 24, 2010
-
-
Daniel Dunbar authored
Also, add CursorKind.get_all_kinds(). llvm-svn: 94389
-
Daniel Dunbar authored
llvm-svn: 94388
-
Daniel Dunbar authored
Also, add repr() support to SourceRange. llvm-svn: 94387
-
Daniel Dunbar authored
Also, change Cursor.spelling to return None for non-decls, for consistency with get_usr(). llvm-svn: 94386
-
Daniel Dunbar authored
llvm-svn: 94385
-
Daniel Dunbar authored
llvm-svn: 94384
-
Daniel Dunbar authored
llvm-svn: 94383
-
Daniel Dunbar authored
llvm-svn: 94382
-
Chris Lattner authored
llvm-svn: 94379
-
Fariborz Jahanian authored
llvm-svn: 94368
-
Anders Carlsson authored
Fix a pretty bad bug where if a constructor (or conversion function) was marked as 'explicit', but then defined out-of-line, we would not treat it as being explicit. llvm-svn: 94366
-
Anders Carlsson authored
llvm-svn: 94365
-
Mike Stump authored
llvm-svn: 94364
-
Sebastian Redl authored
llvm-svn: 94363
-
Anders Carlsson authored
llvm-svn: 94362
-
Anders Carlsson authored
llvm-svn: 94361
-
Daniel Dunbar authored
llvm-svn: 94360
-
Daniel Dunbar authored
llvm-svn: 94359
-
Daniel Dunbar authored
llvm-svn: 94358
-
Daniel Dunbar authored
llvm-svn: 94357
-
Daniel Dunbar authored
llvm-svn: 94356
-
Daniel Dunbar authored
llvm-svn: 94355
-
Daniel Dunbar authored
- Add __repr__ on SourceLocation. - Fix File object construction to use c_object_p type, and use None instead of invalid File objects. - Make SourceRange.{start,end} properties. llvm-svn: 94354
-
Daniel Dunbar authored
Also, add ValueError check before calling Cursor_spelling. llvm-svn: 94353
-
Alexis Hunt authored
Mangle static variables with an extra name to distinguish them from non-static variables in the same TU. Fixes PR5966 for real this time; also reverts r92911, which had a incorrect fix. llvm-svn: 94352
-
Daniel Dunbar authored
llvm-svn: 94351
-
Daniel Dunbar authored
- Some tweaks by me for API changes, Darwin, and x86_64 support. Still needs substantial updating to match recent CIndex API changes. llvm-svn: 94349
-
Chris Lattner authored
unbalanced. llvm-svn: 94347
-