Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add TCE target support, patch by Pekka J! | Chris Lattner | 2010-03-04 | 1 | -0/+4 |
| | | | | llvm-svn: 97746 | ||||
* | Driver: Allow driver title (for --help) to be overridden by clients. | Daniel Dunbar | 2010-02-25 | 1 | -2/+3 |
| | | | | llvm-svn: 97106 | ||||
* | PR5803: clang++: Treat untyped 'C' inputs as C++. | Daniel Dunbar | 2010-02-17 | 1 | -0/+11 |
| | | | | | | | - Patch by Andrzej K. Haczewski, with a tweak by me to emit a 'deprecated' diagnostic when we do this. We'll see what zee users say. llvm-svn: 96511 | ||||
* | Driver: Add -rewrite-objc, which is an interface to clang -cc1 -rewrite-objc. | Daniel Dunbar | 2010-02-11 | 1 | -2/+7 |
| | | | | llvm-svn: 95849 | ||||
* | Driver: Fix infinite loop and wrong message on invalid -ccc-clang-arch argument. | Daniel Dunbar | 2010-02-11 | 1 | -4/+2 |
| | | | | llvm-svn: 95848 | ||||
* | Driver: Add -[no-]integrated-as for clang. | Daniel Dunbar | 2010-02-03 | 1 | -14/+41 |
| | | | | | | | | | | | | | | | | | | | | - Requires backend support, which only exists for i386--darwin currently. No 'as' required: -- ddunbar@ozzy:tmp$ cat t.c int main() { return 42; } ddunbar@ozzy:tmp$ clang -m32 -integrated-as t.c ddunbar@ozzy:tmp$ ./a.out; echo $? 42 ddunbar@ozzy:tmp$ -- The random extra whitespace is how you know its working! :) llvm-svn: 95194 | ||||
* | ASTUnit: Don't check that input files exist when parsing ASTs from the command | Daniel Dunbar | 2010-01-25 | 1 | -6/+5 |
| | | | | | | | line -- they may be remapped (fake) files. This is useful for testing parsing entirely from memory. llvm-svn: 94395 | ||||
* | Rename getClangFullVendorVersion() to getClangFullVersion(). | Ted Kremenek | 2010-01-23 | 1 | -1/+1 |
| | | | | llvm-svn: 94273 | ||||
* | Move version string generation (e.g., "clang 1.1 ...") to ↵ | Ted Kremenek | 2010-01-22 | 1 | -7/+1 |
| | | | | | | libBasic/Version.cpp, getClangFullVendorVersion(). llvm-svn: 94235 | ||||
* | (1) Rename getClangSubversionRevision() to getClangRevision(), and | Ted Kremenek | 2010-01-22 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | have it return a StringRef instead of an integer (to be more VCS agnostic). (2) Add getClangFullRepositoryVersion(), which contains an amalgamation of the repository name and the revision. (3) Change PCH to only emit the string returned by getClangFullRepositoryVersion() instead of also emitting the value of getClangSubversionRevision() (which has been removed). This is functionally equivalent. More cleanup to version string generation pending... llvm-svn: 94231 | ||||
* | Rename getClangSubversionPath() -> getClangRepositoryPath() and have it ↵ | Ted Kremenek | 2010-01-22 | 1 | -1/+1 |
| | | | | | | return a StringRef. llvm-svn: 94213 | ||||
* | Driver: Lift clang resource directory computation to the Driver object. | Daniel Dunbar | 2010-01-20 | 1 | -0/+8 |
| | | | | llvm-svn: 93971 | ||||
* | Fix possible memory leak by using an OwningPtr. | Ted Kremenek | 2010-01-19 | 1 | -5/+5 |
| | | | | llvm-svn: 93834 | ||||
* | Remove some dead variables clang-analyzer found. | Benjamin Kramer | 2009-12-25 | 1 | -5/+1 |
| | | | | llvm-svn: 92162 | ||||
* | Driver: Fix '... -O4 -O0 ...', which was generating bitcode. | Daniel Dunbar | 2009-12-23 | 1 | -2/+5 |
| | | | | llvm-svn: 91962 | ||||
* | Driver: When linking, don't warn about unused arguments which are obviously only | Daniel Dunbar | 2009-12-22 | 1 | -0/+5 |
| | | | | | | | | used during compilation. - There is no easy way to define this group properly, unfortunately, and maybe this is a losing strategy. For now this is unambiguous more friendly, though. llvm-svn: 91940 | ||||
* | Remove several .c_str() to be forward-compatible with StringRef. | Jeffrey Yasskin | 2009-12-08 | 1 | -3/+3 |
| | | | | llvm-svn: 90822 | ||||
* | Shorten the help test for -no-canonical-prefixes, put it behind HelpHidden and | Rafael Espindola | 2009-12-07 | 1 | -0/+3 |
| | | | | | | claim it in Driver.cpp instead of Tools.cpp. llvm-svn: 90777 | ||||
* | Unbreak -ccc-cxx and -ccc-clang-cxx defaulting. | Daniel Dunbar | 2009-12-05 | 1 | -2/+3 |
| | | | | llvm-svn: 90629 | ||||
* | Driver: Switch -ccc-* options to using the standard options functionality. | Daniel Dunbar | 2009-12-04 | 1 | -167/+38 |
| | | | | | | - I still want to get rid of them, but manually handling them isn't adding value. llvm-svn: 90602 | ||||
* | Add OptTable::PrintHelp. | Daniel Dunbar | 2009-12-03 | 1 | -0/+2 |
| | | | | llvm-svn: 90420 | ||||
* | What the FIXMEs want, the FIXMEs shall have. | Daniel Dunbar | 2009-11-25 | 1 | -4/+3 |
| | | | | llvm-svn: 89861 | ||||
* | Factor out OptTable::ParseArgs, for parsing an entire argument vector. | Daniel Dunbar | 2009-11-19 | 1 | -28/+11 |
| | | | | llvm-svn: 89327 | ||||
* | Driver: ArgList doesn't depend on Options.h anymore. | Daniel Dunbar | 2009-11-19 | 1 | -2/+2 |
| | | | | llvm-svn: 89313 | ||||
* | Driver: Switch to using explicit {getLast,has}ArgNoClaim functions instead ↵ | Daniel Dunbar | 2009-11-19 | 1 | -1/+1 |
| | | | | | | | | of taking a Claim argument. - Most driver code always claims, and bool arguments don't play nice with the overloads. llvm-svn: 89308 | ||||
* | Use Option::matches instead of direct ID comparison. | Daniel Dunbar | 2009-11-19 | 1 | -3/+3 |
| | | | | llvm-svn: 89305 | ||||
* | Driver: Split OptTable out into OptTable.{h,cpp} | Daniel Dunbar | 2009-11-19 | 1 | -0/+1 |
| | | | | llvm-svn: 89283 | ||||
* | Driver: Rework OptTable to have no dependency on the options it manages. | Daniel Dunbar | 2009-11-18 | 1 | -1/+1 |
| | | | | llvm-svn: 89234 | ||||
* | Allow customization for the version line. | Mike Stump | 2009-10-09 | 1 | -0/+3 |
| | | | | llvm-svn: 83652 | ||||
* | Provide a common set of routines in Version.h that return Subversion | Douglas Gregor | 2009-10-05 | 1 | -15/+4 |
| | | | | | | | branch/revision information. Use that information in the driver, rather than one-off branch/revision computation. llvm-svn: 83321 | ||||
* | Push "clang-is-production" logic up to tools/driver, and make it hittable by | Daniel Dunbar | 2009-09-22 | 1 | -13/+15 |
| | | | | | | defining the CLANG_IS_PRODUCTION Makefile variable. llvm-svn: 82583 | ||||
* | Improve driver error message when only running the preprocessor and an input is | Daniel Dunbar | 2009-09-17 | 1 | -4/+13 |
| | | | | | | | | | | | | | | | | already preprocessed. -- ddunbar@giles:tmp$ touch t.i ddunbar@giles:tmp$ gcc -E t.i ddunbar@giles:tmp$ clang -E t.i clang: warning: t.i: previously preprocessed input unused when '-E' is present ddunbar@giles:tmp$ -- <rdar://problem/6813375> [driver] driver prints confusing message when running -E on preprocessed file llvm-svn: 82120 | ||||
* | Change Get{File,Program}Path to return an std::string (instead of a sys::Path). | Daniel Dunbar | 2009-09-09 | 1 | -15/+11 |
| | | | | llvm-svn: 81389 | ||||
* | Push bound architecture name into Compilation::getArgsForToolChain. | Daniel Dunbar | 2009-09-09 | 1 | -7/+7 |
| | | | | llvm-svn: 81365 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -2/+1 |
| | | | | llvm-svn: 81346 | ||||
* | Validate arguments to -arch. | Daniel Dunbar | 2009-09-08 | 1 | -0/+10 |
| | | | | llvm-svn: 81281 | ||||
* | Rename HostInfo::getToolChain to HostInfo::CreateToolChain, and don't recreate | Daniel Dunbar | 2009-09-08 | 1 | -13/+8 |
| | | | | | | the default tool chain when binding the default architecture. llvm-svn: 81279 | ||||
* | Simplify. | Daniel Dunbar | 2009-09-08 | 1 | -7/+2 |
| | | | | llvm-svn: 81277 | ||||
* | Fix ShouldUseClangCompiler to use llvm::Triple. | Daniel Dunbar | 2009-09-08 | 1 | -28/+22 |
| | | | | | | - -1 FIXME, and fixes 'clang -arch armv4t ...', for example. llvm-svn: 81276 | ||||
* | Tweak & reflow comments, and delete trailing whitespace. | Daniel Dunbar | 2009-09-08 | 1 | -193/+173 |
| | | | | llvm-svn: 81275 | ||||
* | Add -ccc-install-dir option for faking installation path. | Daniel Dunbar | 2009-09-04 | 1 | -1/+7 |
| | | | | llvm-svn: 81017 | ||||
* | Update. | Mike Stump | 2009-09-03 | 1 | -0/+4 |
| | | | | llvm-svn: 80864 | ||||
* | Add driver support for -emit-ast and AST compilation steps. | Daniel Dunbar | 2009-09-01 | 1 | -9/+13 |
| | | | | | | - <rdar://problem/7185031> Add 'clang' option '-emit-ast' llvm-svn: 80678 | ||||
* | Remove arch normalization from Driver, this should be unnecessary now that | Daniel Dunbar | 2009-08-24 | 1 | -14/+0 |
| | | | | | | things have moved to llvm::Triple. llvm-svn: 79902 | ||||
* | API changes to match llvm ToT. | Chris Lattner | 2009-08-23 | 1 | -4/+4 |
| | | | | llvm-svn: 79868 | ||||
* | Reenable clang using clang-cc for C++ and all archs by default. | Daniel Dunbar | 2009-08-23 | 1 | -1/+1 |
| | | | | llvm-svn: 79861 | ||||
* | Temporarily switch clang back to not using clang-cc by default for C++, and only | Daniel Dunbar | 2009-08-23 | 1 | -1/+14 |
| | | | | | | using clang-cc on i386 and x86_64. llvm-svn: 79859 | ||||
* | Second half of, clang, AuroraUX toolchain support. | Edward O'Callaghan | 2009-08-22 | 1 | -0/+2 |
| | | | | llvm-svn: 79713 | ||||
* | Switch the driver back to always using clang-cc by default (for C++, and | Daniel Dunbar | 2009-07-23 | 1 | -4/+3 |
| | | | | | | | | | | | | regardless of the architecture). - This is a good default for development & testing; for example without this any tests using 'clang' in the test suite will fail on PowerPC, since the driver will avoid using clang. - We don't want to actually ship something built this way, but that should be handled via some sort of configuration file. llvm-svn: 76886 | ||||
* | driver: Print --version on stdout, to match gcc. | Daniel Dunbar | 2009-07-21 | 1 | -7/+7 |
| | | | | | | - Patch by Jean-Daniel Dupas llvm-svn: 76632 |