Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Turn -fixit it back into a mode, but make -fixit-at imply that mode this time | Daniel Dunbar | 2009-11-14 | 2 | -41/+33 | |
| | | | | | | | (instead of running it with arbitrary consumers). - Also, turn any -fixit-at lookup failure into an error. llvm-svn: 88757 | |||||
* | Switch -verify implementation to use VerifyDiagnosticClient. | Daniel Dunbar | 2009-11-14 | 1 | -12/+7 | |
| | | | | | | - Not tested, but -verify with multiple inputs should work now. llvm-svn: 88750 | |||||
* | Pass Preprocessor through DiagnosticClient::BeginSourceFile. | Daniel Dunbar | 2009-11-14 | 1 | -2/+3 | |
| | | | | llvm-svn: 88744 | |||||
* | Add clang-cc option "--analyzer-experimental-internal-checks". This | Ted Kremenek | 2009-11-13 | 1 | -0/+5 | |
| | | | | | | | option enables new "internal" checks that will eventually be turned on by default but still require broader testing. llvm-svn: 88671 | |||||
* | Add CompilerInstance utility functions for creating output files. | Daniel Dunbar | 2009-11-13 | 1 | -48/+16 | |
| | | | | llvm-svn: 88667 | |||||
* | Add output file list to CompilerInstance, so that it can track them instead of | Daniel Dunbar | 2009-11-13 | 1 | -70/+45 | |
| | | | | | | forcing all clients to do it. llvm-svn: 87103 | |||||
* | clang-cc: Move output file initialization closer to use. | Daniel Dunbar | 2009-11-13 | 1 | -13/+12 | |
| | | | | llvm-svn: 87102 | |||||
* | Simplify, in anticipation of introducing explicit action instances. | Daniel Dunbar | 2009-11-13 | 1 | -19/+16 | |
| | | | | llvm-svn: 87101 | |||||
* | Add CodeCompletion consumer to CompilerInvocation. | Daniel Dunbar | 2009-11-13 | 1 | -27/+5 | |
| | | | | llvm-svn: 87100 | |||||
* | Rework Sema code completion interface. | Daniel Dunbar | 2009-11-13 | 1 | -18/+10 | |
| | | | | | | | | | | | | | - Provide Sema in callbacks, instead of requiring it in constructor. This eliminates the need for a factory function. Clients now just pass the object to consume the results in directly. - CodeCompleteConsumer is cheap to construct, so building it whenever we are doing code completion is reasonable. Doug, please review. llvm-svn: 87099 | |||||
* | Add CompilerInstance::createPCHExternalASTSource. | Daniel Dunbar | 2009-11-13 | 1 | -45/+2 | |
| | | | | llvm-svn: 87097 | |||||
* | Add CompilerInstance::has* methods for testing if the instance has a particular | Daniel Dunbar | 2009-11-13 | 1 | -2/+2 | |
| | | | | | | subobject. llvm-svn: 87096 | |||||
* | Add ASTContext to CompilerInstance. | Daniel Dunbar | 2009-11-13 | 1 | -14/+7 | |
| | | | | llvm-svn: 87095 | |||||
* | Add CompilerInstance::createDiagnostics, and move clang-cc to it. | Daniel Dunbar | 2009-11-13 | 1 | -75/+8 | |
| | | | | | | clang-cc.cpp is now under 1k lines, if anyone is counting. llvm-svn: 87090 | |||||
* | Add a FIXME. | Daniel Dunbar | 2009-11-13 | 1 | -0/+4 | |
| | | | | llvm-svn: 87089 | |||||
* | Add Preprocessor to CompilerInstance, and move clang-cc CreatePreprocessor to | Daniel Dunbar | 2009-11-13 | 1 | -53/+8 | |
| | | | | | | CompilerInstance::createPreprocessor. llvm-svn: 87088 | |||||
* | Wherein the TargetInfo argument to Preprocessor is made 'const' and propogated. | Daniel Dunbar | 2009-11-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 87087 | |||||
* | Add {File,Source}Manager to CompilerInstance. | Daniel Dunbar | 2009-11-13 | 1 | -10/+11 | |
| | | | | llvm-svn: 87079 | |||||
* | Add CompilerInstance, and starting moving clang-cc to it. | Daniel Dunbar | 2009-11-13 | 1 | -81/+77 | |
| | | | | | | | - The design philosophy is in the CompilerInstance doxyment, if you don't agree with it now would be a good time to speak up. llvm-svn: 87078 | |||||
* | Move input kind identification (-x) into FrontendOptions. | Daniel Dunbar | 2009-11-13 | 3 | -124/+102 | |
| | | | | llvm-svn: 87066 | |||||
* | Add clang-cc option "-analyzer-experimental-checks" to enable experimental ↵ | Ted Kremenek | 2009-11-13 | 1 | -4/+9 | |
| | | | | | | path-sensitive checks. The idea is to separate "barely working" or "skunkworks" checks from ones that should always run. Later we need more fine-grain checker control. llvm-svn: 87053 | |||||
* | Move -target-{triple,abi} options into FrontendOptions. | Daniel Dunbar | 2009-11-13 | 2 | -39/+46 | |
| | | | | llvm-svn: 87051 | |||||
* | Move code completion options to clang-cc | Daniel Dunbar | 2009-11-13 | 2 | -58/+40 | |
| | | | | llvm-svn: 87050 | |||||
* | Move FixItAtLocations into FrontendOptions | Daniel Dunbar | 2009-11-12 | 2 | -18/+17 | |
| | | | | llvm-svn: 87046 | |||||
* | clang-cc: Keep Verbose option with HeaderSearchOptions, for now. | Daniel Dunbar | 2009-11-12 | 3 | -12/+9 | |
| | | | | llvm-svn: 87045 | |||||
* | Add FrontendOptions, and starting moving clang-cc to it. | Daniel Dunbar | 2009-11-12 | 3 | -113/+143 | |
| | | | | llvm-svn: 87044 | |||||
* | Move CompileOptions -> CodeGenOptions, and sink it into the CodeGen library. | Chandler Carruth | 2009-11-12 | 3 | -16/+16 | |
| | | | | | | This resolves the layering violation where CodeGen depended on Frontend. llvm-svn: 86998 | |||||
* | Disallow FIX-ITs when generating code. | Daniel Dunbar | 2009-11-12 | 1 | -0/+6 | |
| | | | | llvm-svn: 86990 | |||||
* | clang-cc: Coalesce frontend options further. | Daniel Dunbar | 2009-11-12 | 1 | -89/+78 | |
| | | | | llvm-svn: 86988 | |||||
* | Move warning options into DiagnosticOptions. | Daniel Dunbar | 2009-11-12 | 2 | -26/+25 | |
| | | | | llvm-svn: 86968 | |||||
* | Move dump-build-information option into DiagnosticOptions. | Daniel Dunbar | 2009-11-12 | 2 | -21/+20 | |
| | | | | llvm-svn: 86966 | |||||
* | clang-cc: Factor CreateDiagnosticEngine out of main. | Daniel Dunbar | 2009-11-12 | 1 | -36/+50 | |
| | | | | llvm-svn: 86963 | |||||
* | clang-cc: -fixit is actually option, not an action, although its use with non | Daniel Dunbar | 2009-11-12 | 1 | -5/+5 | |
| | | | | | | -fsyntax-only is probably untested. llvm-svn: 86962 | |||||
* | Simplify. | Daniel Dunbar | 2009-11-12 | 1 | -9/+0 | |
| | | | | llvm-svn: 86961 | |||||
* | Move TokenCache option to PreprocessorOptions. | Daniel Dunbar | 2009-11-12 | 2 | -16/+21 | |
| | | | | llvm-svn: 86940 | |||||
* | Switch PTHManager to using diagnostics for most errors. | Daniel Dunbar | 2009-11-12 | 1 | -3/+1 | |
| | | | | | | Also, always give errors on a token-cache PTH failure. llvm-svn: 86939 | |||||
* | Simplify. | Daniel Dunbar | 2009-11-12 | 1 | -31/+9 | |
| | | | | llvm-svn: 86938 | |||||
* | clang-cc: Refactor ParseInputFollow to clearly split on the two primary cases, | Daniel Dunbar | 2009-11-12 | 1 | -100/+110 | |
| | | | | | | | when we are running an AST consumer and when we are just running the preprocessor or parser alone. llvm-svn: 86937 | |||||
* | clang-cc: Factor ReadPCHFile out of ProcessInputFile. | Daniel Dunbar | 2009-11-12 | 1 | -32/+40 | |
| | | | | llvm-svn: 86936 | |||||
* | Simplify. | Daniel Dunbar | 2009-11-12 | 1 | -10/+6 | |
| | | | | llvm-svn: 86935 | |||||
* | clang-cc: Unify InitializeSourceManager calls. | Daniel Dunbar | 2009-11-12 | 1 | -29/+10 | |
| | | | | llvm-svn: 86934 | |||||
* | clang-cc: Move non-Consumer action handling to common location, to expose ↵ | Daniel Dunbar | 2009-11-12 | 1 | -58/+70 | |
| | | | | | | the massive amount of redundancy we have introduced through blind copy-and-paste. llvm-svn: 86922 | |||||
* | Fix PCH/preprocess test to be more useful, and unbreak -E mode with implicit | Daniel Dunbar | 2009-11-12 | 1 | -1/+13 | |
| | | | | | | PCH, which I broke. llvm-svn: 86921 | |||||
* | Tweak formatting. | Daniel Dunbar | 2009-11-12 | 1 | -15/+11 | |
| | | | | llvm-svn: 86907 | |||||
* | Move AnalyzerOptions into CompilerInvocation. | Daniel Dunbar | 2009-11-12 | 1 | -8/+6 | |
| | | | | llvm-svn: 86906 | |||||
* | Always initialize the header search object as part of InitializePreprocessor; | Daniel Dunbar | 2009-11-11 | 1 | -6/+3 | |
| | | | | | | not doing this has little to no utility. llvm-svn: 86883 | |||||
* | Allow Preprocessor to take ownership of the HeaderSearch object. I think it ↵ | Daniel Dunbar | 2009-11-11 | 1 | -12/+10 | |
| | | | | | | should probably always own the header search object, but I'm not sure... llvm-svn: 86882 | |||||
* | Sink AttachDependencyFileGen into CreatePreprocessor. | Daniel Dunbar | 2009-11-11 | 1 | -8/+11 | |
| | | | | llvm-svn: 86881 | |||||
* | Add DependencyOutputOptions to wrap -M... options, and propogate to | Daniel Dunbar | 2009-11-11 | 3 | -40/+46 | |
| | | | | | | CompilerInvocation and clang-cc. llvm-svn: 86880 | |||||
* | Simplify. | Daniel Dunbar | 2009-11-11 | 1 | -13/+6 | |
| | | | | llvm-svn: 86830 |