- Jan 25, 2010
-
-
Ted Kremenek authored
llvm-svn: 94428
-
Eli Friedman authored
llvm-svn: 94427
-
Douglas Gregor authored
string when given a cursor that does not have a name. Also, don't give silly names for statements and non-reference expressions. llvm-svn: 94426
-
Douglas Gregor authored
llvm-svn: 94425
-
Douglas Gregor authored
the tag kind (union, struct, class, enum) over to the name of the tag, if there is a name, since most clients want to point at the name. llvm-svn: 94424
-
Douglas Gregor authored
condition even when we've visited the condition variable, so that we'll see implicit conversions there. llvm-svn: 94423
-
Rafael Espindola authored
llvm-svn: 94421
-
Benjamin Kramer authored
llvm-svn: 94420
-
Daniel Dunbar authored
cindex/Python: Move translation unit load functions to Index, there isn't a good reason to have separate static methods for this. llvm-svn: 94419
-
Daniel Dunbar authored
llvm-svn: 94418
-
Chris Lattner authored
llvm-svn: 94417
-
Chris Lattner authored
mcstreamer. llvm-svn: 94416
-
Chris Lattner authored
llvm-svn: 94414
-
Chris Lattner authored
llvm-svn: 94413
-
Chris Lattner authored
Previously we would just silently miscompile code that used aligned common's, now at least you'll get a build error. tiger-ppc already triggered the build error because it didn't have a version of this logic. llvm-svn: 94412
-
Chris Lattner authored
llvm-svn: 94411
-
Chris Lattner authored
llvm-svn: 94410
-
Ted Kremenek authored
llvm-svn: 94409
-
Jim Grosbach authored
llvm-svn: 94408
-
Ted Kremenek authored
llvm-svn: 94407
-
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
-
Eric Christopher authored
Patch by Torvald Riegel! llvm-svn: 94405
-
Chris Lattner authored
llvm-svn: 94404
-
Chris Lattner authored
llvm-svn: 94403
-
-
Chris Lattner authored
llvm-svn: 94401
-
Rafael Espindola authored
We are not emitting alignments on Darwin for "bar". Not sure what is the correct way to do it. llvm-svn: 94400
-
Daniel Dunbar authored
llvm-svn: 94399
-
Daniel Dunbar authored
llvm-svn: 94398
-
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
-