- Oct 24, 2008
-
-
Douglas Gregor authored
llvm-svn: 58105
-
Ted Kremenek authored
llvm-svn: 58051
-
- Oct 22, 2008
-
-
Daniel Dunbar authored
llvm-svn: 57938
-
Daniel Dunbar authored
- Split backend related consumer out into Backend.cpp, replaces LLVMCodeGenWriter. - Structure follows llvm-gcc to some extent. - Still need to implement all the options which impact code generation and the optimization passes which llvm-gcc uses at various levels. llvm-svn: 57936
-
- Oct 05, 2008
-
-
Daniel Dunbar authored
llvm-svn: 57087
-
- Sep 13, 2008
-
-
Ted Kremenek authored
"Here is a patch what replaces std::ostream with llvm::raw_ostream. This patch covers the AST library, but ignores Analysis lib." llvm-svn: 56185
-
- Aug 26, 2008
-
-
Daniel Dunbar authored
- Change enum name to Kind. - Change enum constants to English strings. Also, fix getPropertyImplementation (which probably should be renamed) llvm-svn: 55354
-
- Aug 24, 2008
-
-
Zhongxing Xu authored
llvm-svn: 55274
-
Chris Lattner authored
an APInt directly to an ostream now, so add some hacks. It would be better to switch all of the bugreport (and friends) stuff over to raw_ostream. llvm-svn: 55264
-
- Aug 22, 2008
-
-
Chris Lattner authored
patch contributed by Benjamin Stiglitz! llvm-svn: 55170
-
- Aug 10, 2008
-
-
Nico Weber authored
This happened because seralization was done in the constructor, and at that time the TranslationUnit is no longer valid. llvm-svn: 54618
-
- Aug 09, 2008
-
-
Nico Weber authored
llvm-svn: 54590
-
- Aug 07, 2008
-
-
Matthijs Kooijman authored
prevent unexpected surprises later on. llvm-svn: 54469
-
- Aug 05, 2008
-
-
Ted Kremenek authored
Refactored driver logic for CodeGen into LLVMCodeGenWriter. This ASTConsumer layers on top of LLVMCodeGen (another existing ASTConsumer) to emit bitcode files to disk. This layering takes this logic out of clang.cpp and puts it directly into the ASTConsumer interface. The benefit is that now --emit-llvm works with both serialized ASTs and regular source files. llvm-svn: 54364
-
- Jul 21, 2008
-
-
Chris Lattner authored
various objc lists over to it. First up, the protocol list on ObjCInterfaceDecl. llvm-svn: 53856
-
- Jul 02, 2008
-
-
Ted Kremenek authored
Renamed -dump-cfg to -cfg-dump, and -view-cfg to -cfg-view. This naming better matches the same options for asts (e.g. -ast-dump). llvm-svn: 53041
-
Ted Kremenek authored
llvm-svn: 53039
-
Ted Kremenek authored
Remove CheckerConsumer. llvm-svn: 53029
-
Ted Kremenek authored
llvm-svn: 53028
-
Ted Kremenek authored
Migrated driver logic for running the CF retain/release checker over to the new AnalysisConsumer interface. llvm-svn: 53002
-
Ted Kremenek authored
analyses. This potentially is the primordial origins of a Clang-equivalent "PassManager". The new AnalysisConsumer interface allows multiple analyses to be run from a single invocation of Clang. Migrated the logic of "-warn-dead-stores" and "-warn-uninit-values" to use the new AnalysisConsumer interface. The new interface results in a significant code reduction to incorporate an analysis into the Driver. Updated a test case to (correctly) acknowledge that it contains a dead store (this check wasn't being performed because it was previously masked by -warn-uninit-values). llvm-svn: 52996
-
- Jun 21, 2008
-
-
Chris Lattner authored
llvm-svn: 52598
-
- Jun 20, 2008
-
-
Ted Kremenek authored
llvm-svn: 52560
-
- Jun 09, 2008
-
-
Eli Friedman authored
llvm-svn: 52152
-
- Jun 04, 2008
-
-
Ted Kremenek authored
Moved LangOptions from TranslationUnit to ASTContext. This induced a variety of cleanups in some ASTConsumers. llvm-svn: 51943
-
- May 31, 2008
-
-
Ted Kremenek authored
TranslationUnit object instead of an ASTContext. By default it calls Initialize(ASTConstext& Context) (to match with the current interface used by most ASTConsumers). Modified the ObjC-Rewriter to use InitializeTU, and to tell the TranslationUnit to not free its Decls. This is a workaround for: <rdar://problem/5966749> llvm-svn: 51825
-
- May 30, 2008
-
-
Eli Friedman authored
essentially that we were destroying the declarations twice. (Note that we don't use -serialize directly in the testsuite, only SerializeTest.) llvm-svn: 51768
-
- May 23, 2008
-
-
Steve Naroff authored
llvm-svn: 51494
-
- May 07, 2008
-
-
Fariborz Jahanian authored
properties. Couple of property tests will fail with this patch. Will fix them next. llvm-svn: 50818
-
Fariborz Jahanian authored
llvm-svn: 50779
-
- May 06, 2008
-
-
Fariborz Jahanian authored
(was IdentifierInfo * before). This will make method declartations whole lot easier. llvm-svn: 50747
-
- May 05, 2008
-
-
Fariborz Jahanian authored
properties declared in the protocol. llvm-svn: 50662
-
- May 02, 2008
-
-
Ted Kremenek authored
basic warnings (dead stores, null dereferences) on the first pass. llvm-svn: 50584
-
- May 01, 2008
-
-
Ted Kremenek authored
a CF memory leak occurred with GC enabled, etc. llvm-svn: 50507
-
- Apr 29, 2008
-
-
Ted Kremenek authored
The transfer functions for the checker don't do anything special yet in GC mode. llvm-svn: 50394
-
- Apr 23, 2008
-
-
Ted Kremenek authored
when it is constructed via deserialization. This is done by recording a flag indicating that this is the case, and it deletes these objects by getting the references stored in the ASTContext object. This fixes some memory leaks that occurs when we deserialize translation units from bitcode files. The rationale between having TranslationUnit sometimes own these objects and sometimes not is that a TranslationUnit object can be constructed from state generated by the parser (Preprocessor; semantic analyzer, etc.), and thus in these cases won't own the IdentifierTable or Selectors, etc. During deserialization, there is no Preprocessor, so somebody needs to own these objects in order for them to be properly reclaimed. llvm-svn: 50149
-
Fariborz Jahanian authored
to print declaration from its AST. llvm-svn: 50117
-
- Apr 18, 2008
-
-
Ted Kremenek authored
clang.cpp: InitializePreprocessor now makes a copy of the contents of PredefinesBuffer and passes it to the preprocessor object. clang.cpp: DriverPreprocessorFactory now calls "InitializePreprocessor" instead of this being done in main(). html::HighlightMacros() now takes a PreprocessorFactory, allowing it to conjure up a new Preprocessor to highlight macros. class HTMLDiagnostics now takes a PreprocessorFactory* that it can use for html::HighlightMacros(). Updated clients of HTMLDiagnostics to use this new interface. llvm-svn: 49875
-
- Apr 17, 2008
-
-
Fariborz Jahanian authored
Added assertion if unexpected property decls are found where they don't belong. Consolidated property decl. printing by using a helper function. llvm-svn: 49862
-
- Apr 16, 2008
-
-
Fariborz Jahanian authored
just as they are declared in objc classes. llvm-svn: 49817
-