- Jan 30, 2010
-
-
Benjamin Kramer authored
PCHReader doesn't implement classof so dyn_casting it will do really weird stuff. Use a static_cast instead. I don't know if this hack is the right fix. Doug, please take a look. llvm-svn: 94895
-
- Jan 29, 2010
-
-
Fariborz Jahanian authored
definition comes after where it is needed. Fixes radar 7589385. llvm-svn: 94788
-
- Jan 28, 2010
-
-
Douglas Gregor authored
so that CIndex can report diagnostics through the normal mechanisms even when executing Clang in a separate process. This applies both when performing code completion and when using ASTs as an intermediary for clang_createTranslationUnitFromSourceFile(). The serialized format is not perfect at the moment, because it does not encapsulate macro-instantiation information. Instead, it maps all source locations back to the instantiation location. However, it does maintain source-range and fix-it information. To get perfect fidelity from the serialized format would require serializing a large chunk of the source manager; at present, it isn't clear if this code will live long enough for that to matter. llvm-svn: 94740
-
Fariborz Jahanian authored
(Radar 7583971). llvm-svn: 94724
-
- Jan 27, 2010
-
-
Jeffrey Yasskin authored
llvm-svn: 94688
-
- Jan 26, 2010
-
-
Ted Kremenek authored
llvm-svn: 94609
-
Fariborz Jahanian authored
llvm-svn: 94584
-
Fariborz Jahanian authored
type-cast to its sub-class (radar 7575882). llvm-svn: 94559
-
Fariborz Jahanian authored
access (was radar 7575882). llvm-svn: 94481
-
- Jan 25, 2010
-
-
Fariborz Jahanian authored
to subclass. (Fixes radar 7575882). llvm-svn: 94444
-
Ted Kremenek authored
llvm-svn: 94428
-
Benjamin Kramer authored
llvm-svn: 94420
-
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
-
Daniel Dunbar authored
line -- they may be remapped (fake) files. This is useful for testing parsing entirely from memory. llvm-svn: 94395
-
- Jan 24, 2010
-
-
Chris Lattner authored
llvm-svn: 94379
-
Anders Carlsson authored
llvm-svn: 94361
-
- Jan 23, 2010
-
-
Douglas Gregor authored
translation units that include unsaved files. llvm-svn: 94258
-
- Jan 22, 2010
-
-
Ted Kremenek authored
have it return a StringRef instead of an integer (to be more VCS agnostic). (2) Add getClangFullRepositoryVersion(), which contains an amalgamation of the repository name and the revision. (3) Change PCH to only emit the string returned by getClangFullRepositoryVersion() instead of also emitting the value of getClangSubversionRevision() (which has been removed). This is functionally equivalent. More cleanup to version string generation pending... llvm-svn: 94231
-
Ted Kremenek authored
llvm-svn: 94214
-
Ted Kremenek authored
llvm-svn: 94213
-
- Jan 21, 2010
-
-
Fariborz Jahanian authored
Fixes radar 7562952. llvm-svn: 94087
-
- Jan 20, 2010
-
-
Benjamin Kramer authored
llvm-svn: 94004
-
Benjamin Kramer authored
llvm-svn: 94003
-
Chandler Carruth authored
Comments and/or improvements to the documentation are welcome. llvm-svn: 93982
-
Daniel Dunbar authored
temporaries (this is one reason I'm nervous about propagating their use beyond particularly performance critical places). llvm-svn: 93981
-
Zhongxing Xu authored
llvm-svn: 93973
-
Mike Stump authored
printing. llvm-svn: 93968
-
Mike Stump authored
llvm-svn: 93966
-
Chris Lattner authored
patch by Dmitry llvm-svn: 93948
-
- Jan 19, 2010
-
-
John McCall authored
type which was syntactically written. Fixes PR 6080. llvm-svn: 93933
-
Fariborz Jahanian authored
Fixes radar 6358225. llvm-svn: 93917
-
Benjamin Kramer authored
llvm-svn: 93882
-
- Jan 18, 2010
-
-
John McCall authored
Patch by Enea Zaffanella! llvm-svn: 93752
-
Douglas Gregor authored
llvm-svn: 93750
-
Douglas Gregor authored
Zaffanella (with a couple of my tweaks). llvm-svn: 93733
-
Douglas Gregor authored
llvm-svn: 93726
-
- Jan 17, 2010
-
-
Nuno Lopes authored
llvm-svn: 93668
-
- Jan 16, 2010
-
-
Sam Weinig authored
Add PCH support for CXXStaticCastExpr, CXXDynamicCastExpr, CXXReinterpretCastExpr, CXXConstCastExpr and CXXFunctionalCastExpr. llvm-svn: 93658
-
Fariborz Jahanian authored
declaration where its initializer has a type-cast. llvm-svn: 93650
-
Douglas Gregor authored
previously only had a single location (the @ in @interface); now we know where the @ is (for the start of the declaration), where the class name is (that's the normal "location" now for diagnostics), and where the category name is. Also, eliminated the redundant "end" location, since ObjCContainerDecl already has better @end information. The only XFAIL'd test is temporary; will un-XFAIL-it once I've taught CIndex how to use the new locations. llvm-svn: 93639
-