Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Predefine __weak attribute when doing objective-c | Fariborz Jahanian | 2010-01-13 | 1 | -2/+4 |
| | | | | | | rewriting for any target. (refixes radar 7530235). llvm-svn: 93331 | ||||
* | cc1: Factor out CompilerInstance::ExecuteAction which has the majority of the | Daniel Dunbar | 2010-01-13 | 1 | -0/+87 |
| | | | | | | | | clang -cc1 logic for running an action against a set of options. - This should make it easier to build tools that have a clang -cc1 like interface, but aren't actually part of clang -cc1. llvm-svn: 93282 | ||||
* | Update docs/comments/utils/examples to refer to clang -cc1 instead of clang-cc. | Daniel Dunbar | 2009-12-11 | 1 | -1/+1 |
| | | | | llvm-svn: 91176 | ||||
* | Fix CompilerInstance::createOutputFile to use proper diagnostics, and (try ↵ | Daniel Dunbar | 2009-12-03 | 1 | -3/+3 |
| | | | | | | to) update all clients to be able to handle failure. llvm-svn: 90437 | ||||
* | Remove an unnecessary (I believe) exit() on error. | Daniel Dunbar | 2009-12-03 | 1 | -4/+0 |
| | | | | llvm-svn: 90436 | ||||
* | Move file-remapping logic into InitPreprocesor. No functionality change | Douglas Gregor | 2009-12-02 | 1 | -39/+0 |
| | | | | llvm-svn: 90322 | ||||
* | Introduce a new clang-cc option | Douglas Gregor | 2009-12-02 | 1 | -0/+39 |
| | | | | | | | | | | | | | | | | | | -remap-file=from;to which takes the file "from" and transparently replaces its contents with the contents of the file "to" from the source manager's perspective. This is the moral equivalent of cp from saved cp to from <call clang> cp saved from rm saved without all of the pesky file copying. llvm-svn: 90307 | ||||
* | Extend the source manager with the ability to override the contents of | Douglas Gregor | 2009-12-02 | 1 | -1/+1 |
| | | | | | | | | | | files with the contents of an arbitrary memory buffer. Use this new functionality to drastically clean up the way in which we handle file truncation for code-completion: all of the truncation/completion logic is now encapsulated in the preprocessor where it belongs (<rdar://problem/7434737>). llvm-svn: 90300 | ||||
* | Switch the clang-to-CIndex interface for code-completion to a binary format, ↵ | Douglas Gregor | 2009-12-01 | 1 | -0/+7 |
| | | | | | | for a massive speedup llvm-svn: 90209 | ||||
* | This patch moves the frontend timer from clang-cc into CompilerInstance. | Kovarththanan Rajaratnam | 2009-11-29 | 1 | -0/+5 |
| | | | | | | | | | | | CompilerInstance already contains various objects that are used throughout the entire run. Also addresses Daniels review comments in: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20091123/024508.html llvm-svn: 90073 | ||||
* | Fix refactoro, clang-cc wasn't properly reporting errors when opening an ↵ | Daniel Dunbar | 2009-11-20 | 1 | -5/+5 |
| | | | | | | output file failed. llvm-svn: 89502 | ||||
* | Simplify PreprocessorOptions, it doesn't need abstracted field access. | Daniel Dunbar | 2009-11-17 | 1 | -2/+2 |
| | | | | llvm-svn: 89047 | ||||
* | Shuffle VerifyDiagnosticsClient API to be less fragile. | Daniel Dunbar | 2009-11-14 | 1 | -3/+5 |
| | | | | llvm-svn: 88765 | ||||
* | Add CompilerInstance::InitializeSourceManager. | Daniel Dunbar | 2009-11-14 | 1 | -0/+38 |
| | | | | llvm-svn: 88764 | ||||
* | Switch -verify implementation to use VerifyDiagnosticClient. | Daniel Dunbar | 2009-11-14 | 1 | -8/+7 |
| | | | | | | - Not tested, but -verify with multiple inputs should work now. llvm-svn: 88750 | ||||
* | Add ASTConsumer to CompilerInstance. | Daniel Dunbar | 2009-11-14 | 1 | -0/+5 |
| | | | | llvm-svn: 88743 | ||||
* | Move CompilerInstance::set* methods out-of-line. | Daniel Dunbar | 2009-11-14 | 1 | -0/+32 |
| | | | | llvm-svn: 88731 | ||||
* | Add CompilerInstance utility functions for creating output files. | Daniel Dunbar | 2009-11-13 | 1 | -0/+62 |
| | | | | llvm-svn: 88667 | ||||
* | Add output file list to CompilerInstance, so that it can track them instead of | Daniel Dunbar | 2009-11-13 | 1 | -0/+20 |
| | | | | | | forcing all clients to do it. llvm-svn: 87103 | ||||
* | Add CodeCompletion consumer to CompilerInvocation. | Daniel Dunbar | 2009-11-13 | 1 | -1/+42 |
| | | | | llvm-svn: 87100 | ||||
* | Add CompilerInstance::createPCHExternalASTSource. | Daniel Dunbar | 2009-11-13 | 1 | -0/+38 |
| | | | | llvm-svn: 87097 | ||||
* | Add ASTContext to CompilerInstance. | Daniel Dunbar | 2009-11-13 | 1 | -0/+12 |
| | | | | llvm-svn: 87095 | ||||
* | Add CompilerInstance::createDiagnostics, and move clang-cc to it. | Daniel Dunbar | 2009-11-13 | 1 | -0/+67 |
| | | | | | | clang-cc.cpp is now under 1k lines, if anyone is counting. llvm-svn: 87090 | ||||
* | Add Preprocessor to CompilerInstance, and move clang-cc CreatePreprocessor to | Daniel Dunbar | 2009-11-13 | 1 | -0/+52 |
| | | | | | | CompilerInstance::createPreprocessor. llvm-svn: 87088 | ||||
* | Add {File,Source}Manager to CompilerInstance. | Daniel Dunbar | 2009-11-13 | 1 | -0/+10 |
| | | | | llvm-svn: 87079 | ||||
* | Add CompilerInstance, and starting moving clang-cc to it. | Daniel Dunbar | 2009-11-13 | 1 | -0/+25 |
- 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 |