| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Try to make the output of PlistDiagnostics more deterministic by sorting ↵ | Ted Kremenek | 2009-12-03 | 1 | -0/+39 |
| | | | | | | | PathDiagnostics before they are emitted. Fixes <rdar://problem/7439668>. llvm-svn: 90478 | ||||
| * | Fix two more diagnostic-on-stderr instances that thought they could hide ↵ | Daniel Dunbar | 2009-12-03 | 1 | -10/+10 |
| | | | | | | | from me -- they thought wrong. llvm-svn: 90442 | ||||
| * | Kill a few more random stderr uses. | Daniel Dunbar | 2009-12-03 | 4 | -19/+14 |
| | | | | | llvm-svn: 90441 | ||||
| * | Use llvm_report_error instead of fprintf + assert + exit. | Daniel Dunbar | 2009-12-03 | 1 | -8/+5 |
| | | | | | llvm-svn: 90438 | ||||
| * | Fix CompilerInstance::createOutputFile to use proper diagnostics, and (try ↵ | Daniel Dunbar | 2009-12-03 | 2 | -15/+42 |
| | | | | | | | 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 | ||||
| * | Switch PCHReader::getOriginalSourceFile to use proper diagnostics. | Daniel Dunbar | 2009-12-03 | 2 | -12/+9 |
| | | | | | llvm-svn: 90434 | ||||
| * | Fix BackendConsumer to use proper diagnostics. | Daniel Dunbar | 2009-12-03 | 1 | -15/+13 |
| | | | | | llvm-svn: 90433 | ||||
| * | clang-cc: Honor -help and -version when using new style option parsing. | Daniel Dunbar | 2009-12-03 | 1 | -0/+6 |
| | | | | | llvm-svn: 90422 | ||||
| * | Add clang -cc1 support for -remap-file. | Daniel Dunbar | 2009-12-03 | 1 | -2/+21 |
| | | | | | llvm-svn: 90414 | ||||
| * | Add clang -cc1 -load option. | Daniel Dunbar | 2009-12-03 | 1 | -0/+5 |
| | | | | | llvm-svn: 90413 | ||||
| * | Fix ASTUnit to allows require a (persistent) Diagnostic object be provided; ↵ | Daniel Dunbar | 2009-12-03 | 2 | -22/+10 |
| | | | | | | | propogate and simplify. llvm-svn: 90379 | ||||
| * | ASTUnit: Explicitly track whether the ASTUnit came from an actual AST or not. | Daniel Dunbar | 2009-12-02 | 1 | -4/+7 |
| | | | | | llvm-svn: 90349 | ||||
| * | ASTUnit: Fix initialization of OnlyLocalDecls variable, and honor ↵ | Daniel Dunbar | 2009-12-02 | 1 | -4/+4 |
| | | | | | | | UseBumpAllocator. llvm-svn: 90348 | ||||
| * | Change rtti/Rtti to RTTI, as it is an acronym. | Mike Stump | 2009-12-02 | 1 | -2/+2 |
| | | | | | llvm-svn: 90334 | ||||
| * | Extend -remap-file=from;to to permit mapping from a non-existent | Douglas Gregor | 2009-12-02 | 1 | -4/+5 |
| | | | | | | | | | | | | | file. This is accomplished by introducing the notion of a "virtual" file into the file manager, which provides a FileEntry* for a named file whose size and modification time are known but which may not exist on disk. Added a cute little test that remaps both a .c file and a .h file it includes to alternative files. llvm-svn: 90329 | ||||
| * | Move file-remapping logic into InitPreprocesor. No functionality change | Douglas Gregor | 2009-12-02 | 2 | -39/+53 |
| | | | | | llvm-svn: 90322 | ||||
| * | Fix ASTUnit::getOriginalSourceFileName() when using ASTUnit's derived from | Daniel Dunbar | 2009-12-02 | 1 | -1/+6 |
| | | | | | | | source files. llvm-svn: 90311 | ||||
| * | ASTUnit: Don't create an LLVMContext, it shouldn't be needed. | Daniel Dunbar | 2009-12-02 | 1 | -2/+1 |
| | | | | | llvm-svn: 90310 | ||||
| * | 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 | ||||
| * | Add ASTUnit::LoadFromCommandLine, which creates an ASTUnit out of a list of | Daniel Dunbar | 2009-12-02 | 1 | -0/+55 |
| | | | | | | | | | | | | | | | (clang/driver) command line arguments (including the source file). - The arguments are expected to include the source file. - The idea is that even though this is a somewhat odd API, its the form which many tools can most easily use (for example, by interposing with the compiler). Also, switch index-test's -ast-from-source to use this entry point, and provide a -arg command line argument which can be used to test that the command line arguments are handled correctly. llvm-svn: 90288 | ||||
| * | ASTUnit: Make sure to preserve the TargetInfo for later use. | Daniel Dunbar | 2009-12-01 | 1 | -2/+3 |
| | | | | | llvm-svn: 90263 | ||||
| * | Exit the command line into <built-in> instead of going directly from the ↵ | Rafael Espindola | 2009-12-01 | 1 | -0/+5 |
| | | | | | | | | | command line to the input file. We passed <built-in> on the way in, so we should pass it again on the way out. llvm-svn: 90250 | ||||
| * | Add ASTUnit::LoadFromCompilerInvocation, which does what it says. | Daniel Dunbar | 2009-12-01 | 1 | -4/+95 |
| | | | | | | | | Also, add an -ast-from-source option to index-test which allows index-test to run on source files directly. llvm-svn: 90223 | ||||
| * | 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 | ||||
| * | clang -cc1: Move CompilerInvocation deserialization into CompilerInvocation.cpp, | Daniel Dunbar | 2009-12-01 | 1 | -0/+680 |
| | | | | | | | where it belongs. llvm-svn: 90198 | ||||
| * | Add CodeGenOptions::{SoftFloat,FloatABI}, and update the all the (far too ↵ | Daniel Dunbar | 2009-11-30 | 2 | -0/+12 |
| | | | | | | | many) places to use this instead of using the backend -soft-float and -float-abi= options. llvm-svn: 90127 | ||||
| * | Add TextDiagnosticBuffer::FlushDiagnostics, for forwarding the buffered ↵ | Daniel Dunbar | 2009-11-30 | 1 | -0/+10 |
| | | | | | | | diagnostics to a different diagnostics engine. llvm-svn: 90125 | ||||
| * | Eliminate CodeGenOptions::TimePasses. | Daniel Dunbar | 2009-11-30 | 2 | -14/+16 |
| | | | | | llvm-svn: 90118 | ||||
| * | Eliminate CodeGenOptions::SimplifyLibCalls. | Daniel Dunbar | 2009-11-30 | 1 | -4/+6 |
| | | | | | llvm-svn: 90117 | ||||
| * | Fix PR5633 by making the preprocessor handle the case where we can | Chris Lattner | 2009-11-30 | 5 | -7/+13 |
| | | | | | | | | | | | stat a file but where mmaping it fails. In this case, we emit an error like: t.c:1:10: fatal error: error opening file '../../foo.h' instead of "cannot find file". llvm-svn: 90110 | ||||
| * | Simplify. | Daniel Dunbar | 2009-11-29 | 1 | -6/+5 |
| | | | | | llvm-svn: 90091 | ||||
| * | This patch moves the frontend timer from clang-cc into CompilerInstance. | Kovarththanan Rajaratnam | 2009-11-29 | 2 | -3/+11 |
| | | | | | | | | | | | | 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 | ||||
| * | Add DeclarationName support for C++0x operator literals. They should now work as | Alexis Hunt | 2009-11-29 | 2 | -0/+8 |
| | | | | | | | | function names outside of templates - they'll probably cause some damage there as they're largely untested. llvm-svn: 90064 | ||||
| * | Move LLVM backend options to explicit clang-cc / clang -cc1 options, which ↵ | Daniel Dunbar | 2009-11-29 | 2 | -0/+58 |
| | | | | | | | we then manually pass to the command line library; eventually the latter grossness should be fixed by a real API when creating the target machine. llvm-svn: 90063 | ||||
| * | Add clang -cc1 parsing for LangOptions. | Daniel Dunbar | 2009-11-29 | 1 | -2/+2 |
| | | | | | | | - This is the last major parsing piece, main FIXMEs remain. llvm-svn: 90059 | ||||
| * | Change LangOptions::ObjCConstantStringClass to an std::string to avoid ↵ | Daniel Dunbar | 2009-11-29 | 1 | -13/+13 |
| | | | | | | | worrying about the lifetime. llvm-svn: 90052 | ||||
| * | Move MainFileName option variable into CodeGenOptions instead of LangOptions. | Daniel Dunbar | 2009-11-29 | 1 | -4/+4 |
| | | | | | llvm-svn: 90051 | ||||
| * | Remove VISIBILITY_HIDDEN from anonymous namespaces in libFrontend. | Benjamin Kramer | 2009-11-28 | 11 | -39/+23 |
| | | | | | llvm-svn: 90033 | ||||
| * | Don't call exit(). llvm::llvm_report_error() will do just that | Kovarththanan Rajaratnam | 2009-11-28 | 1 | -1/+0 |
| | | | | | llvm-svn: 90031 | ||||
| * | typo | Gabor Greif | 2009-11-26 | 1 | -1/+1 |
| | | | | | llvm-svn: 89949 | ||||
| * | issue a friendlier error if someone tries to send precompiled header to '-' ↵ | Gabor Greif | 2009-11-26 | 1 | -1/+1 |
| | | | | | | | | | | | | (stdout) this brings the error on clang -c foo.h -o - closer to clang -c foo.h -o /dev/null llvm-svn: 89948 | ||||
| * | Factor out a LangStandard class and coalesce the information about the ↵ | Daniel Dunbar | 2009-11-26 | 2 | -0/+45 |
| | | | | | | | | | standards into LangStandards.def - I'd appreciate another pair of eyeballs to double check this. llvm-svn: 89919 | ||||
| * | Add clang -cc1 parsing for preprocessor options. | Daniel Dunbar | 2009-11-26 | 1 | -6/+12 |
| | | | | | llvm-svn: 89917 | ||||
| * | Add clang -cc1 parsing for header search options. | Daniel Dunbar | 2009-11-26 | 1 | -2/+2 |
| | | | | | llvm-svn: 89916 | ||||
| * | Allow user re-definition of SEL as well as accessing its fields. | Fariborz Jahanian | 2009-11-25 | 2 | -2/+2 |
| | | | | | | | This fixes pr5611. llvm-svn: 89895 | ||||
| * | Call GRExprEngine::setTransferFunctions() after registering all Checkers. ↵ | Ted Kremenek | 2009-11-25 | 1 | -2/+2 |
| | | | | | | | This allows GRTransferFuncs::RegisterChecks() to always be called after all checkers have been registered. llvm-svn: 89887 | ||||
| * | Consolidate logic in ActionInlineCall by having it call ActionGRExprEngine ↵ | Ted Kremenek | 2009-11-25 | 1 | -19/+3 |
| | | | | | | | instead of replicating most of its logic (and missing pieces). llvm-svn: 89886 | ||||
| * | Make RegisterInternalChecks() part of GRExprEngine's private implementation ↵ | Ted Kremenek | 2009-11-25 | 1 | -1/+0 |
| | | | | | | | by making it a static function within GRExprEngine.cpp. llvm-svn: 89884 | ||||

