- Oct 17, 2007
-
-
Anders Carlsson authored
llvm-svn: 43057
-
Ted Kremenek authored
serialization logic as well as driver code is now in Driver/SerializationTest.cpp. The status of this code is that it should be used by no clients. Added --test-pickling option to driver to run the serialization code. Modified IdentifierInfo and IdentifierTable to have friend classes that permit object serialization. Such friendship may not be needed in the final design. llvm-svn: 43052
-
Chris Lattner authored
@selector probably gets this wrong also. llvm-svn: 43048
-
Chris Lattner authored
Rename SourceRange::Begin()/End() to getBegin()/getEnd() for consistency with other code. Start building the rewriter towards handling @encode. llvm-svn: 43047
-
- Oct 16, 2007
-
-
Chris Lattner authored
#import to #include's as a test. llvm-svn: 43041
-
- Oct 15, 2007
-
-
Anders Carlsson authored
llvm-svn: 42974
-
- Oct 14, 2007
-
-
Steve Naroff authored
Fix -ast-dump for ObjC. llvm-svn: 42967
-
- Oct 13, 2007
-
-
Chris Lattner authored
$ clang rewrite.c -rewrite-test prints: int foo() { b: foo(); f: foo(); foo(); } for: int foo() { b: foo(); f: foo(); foo(); } amazing. llvm-svn: 42944
-
Anders Carlsson authored
llvm-svn: 42943
-
Chris Lattner authored
some incredibly subtle details that I'm working on getting right. llvm-svn: 42940
-
- Oct 12, 2007
-
-
Fariborz Jahanian authored
llvm-svn: 42883
-
- Oct 11, 2007
-
-
Chris Lattner authored
with x's for now. The APIs are all unimplemented, so it doesn't do anything yet! :) llvm-svn: 42868
-
Chris Lattner authored
llvm-svn: 42855
-
Chris Lattner authored
llvm-svn: 42853
-
Chris Lattner authored
rename -parse-ast-dump to -ast-dump remove -parse-ast, which is redundant with -fsyntax-only llvm-svn: 42852
-
Chris Lattner authored
llvm-svn: 42846
-
- Oct 10, 2007
-
-
Chris Lattner authored
llvm-svn: 42838
-
Steve Naroff authored
Fix a latent bug in MinimalActions (created by a recent name change). llvm-svn: 42829
-
Chris Lattner authored
predefined macros. Previously, these were handled by the driver, now they are handled by the preprocessor. Some fallout of this: 1. Instead of preprocessing two buffers (the predefines, then the main source file) we now start preprocessing the main source file and inject the predefines as a "psuedo #include" from the main source file. 2. #1 allows us to nuke the Lexer::IsMainFile flag and simplify Preprocessor::isInPrimaryFile. 3. The driver doesn't have to know about standard #defines, the preprocessor knows, which is nice for people wanting to define their own drivers. 4. This allows us to put normal tokens in the predefine buffer, for example a definition for __builtin_va_list that is target-specific, and a typedef for id in objc. llvm-svn: 42818
-
- Oct 09, 2007
-
-
Chris Lattner authored
llvm-svn: 42800
-
Fariborz Jahanian authored
Protocols are now sorted and made unique in the list. Enhanced pretty printer for @interface (So, I can see the protocol list). llvm-svn: 42776
-
- Oct 08, 2007
-
-
Fariborz Jahanian authored
(minimal printing), Derive ObjcClassDecl from Decl. Ted may want to take note of the change I made to CFGRecStmtDeclVisitor.h llvm-svn: 42764
-
- Oct 07, 2007
-
-
Chris Lattner authored
llvm-svn: 42730
-
Chris Lattner authored
llvm-svn: 42718
-
- Oct 06, 2007
-
-
Chris Lattner authored
llvm-svn: 42704
-
Chris Lattner authored
llvm-svn: 42703
-
Chris Lattner authored
for holding builtin target-specific macros. llvm-svn: 42689
-
- Oct 01, 2007
-
-
Ted Kremenek authored
tracked BlkExpr information now maintained by the CFG class. llvm-svn: 42498
-
- Sep 26, 2007
-
-
Ted Kremenek authored
using "-parse-ast -verify". Updated all test cases (using a sed script) that invoked -parse-ast-check to now use -parse-ast -verify. Fixed a bug where using "-verify" instead of "-parse-ast-check" would not correctly create the DiagClient needed to accumulate diagnostics. llvm-svn: 42365
-
Ted Kremenek authored
declaration. This is because this option is logically tightly connected to the actions defined in ProgAction. llvm-svn: 42364
-
Ted Kremenek authored
aren't used auto_ptr's anymore. llvm-svn: 42363
-
Ted Kremenek authored
ASTConsumer can also be verified using the diagnostics checker. From the command line, users may activate diagnostic checking using the "-verify" option. For example, "clang -verify -warn-dead-stores" checks if the warnings flagged by the dead store checker match those in the comments. Note that we still have the option "-parse-ast-check" for backwards comptability with existing test cases. This option is now equivalent to "-parse-ast -verify". llvm-svn: 42362
-
- Sep 25, 2007
-
-
Ted Kremenek authored
llvm-svn: 42317
-
Ted Kremenek authored
"CheckDiagnostics" (used for -parse-ast-check) to check the diagnostics of any ASTConsumer. Reimplemented CheckDiagnostics to use CheckASTConsumer instead. Added driver option -warn-dead-stores-check, which checks the diagnostics generated by the DeadStores checker. This is implemented using CheckASTConsumer.111 llvm-svn: 42310
-
Ted Kremenek authored
"-check-uninit-values" to "-warn-dead-stores" and "-warn-uninit-values" llvm-svn: 42307
-
Ted Kremenek authored
between forward and backward analyses, with trait classes being used to implement the key differences in operations/functionality. Converted the LiveVariables analysis to use the generic DataflowSolver. This, along with removing some extra functionality that was not needed, reduced the code for LiveVariables by over half. Modified Driver code to handle the updated interface to LiveVariables. Modified the DeadStores checker to handle the update interface to LiveVariables. Updated DataflowValues (generic ADT to store dataflow values) to also store values for blocks. This is used by DeadStores. Updated some comments. llvm-svn: 42293
-
- Sep 19, 2007
-
-
Ted Kremenek authored
functionality is still preliminary. llvm-svn: 42152
-
- Sep 17, 2007
-
-
Ted Kremenek authored
llvm-svn: 42062
-
Ted Kremenek authored
globals and function parameters. llvm-svn: 42055
-
Ted Kremenek authored
in the CFG builder logic. llvm-svn: 42033
-