4967a710c84587c654b56c828382219c3937dacb |
|
20-Sep-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master Clang for rebase to r275480 Bug: http://b/31320715 This merges commit ac9cc4764cf47a6c3f031687d8592e080c9f5001 from aosp/dev. Test: Build AOSP and run RenderScript tests (host tests for slang and libbcc, RsTest, CTS) Change-Id: Ic2875e5c3673c83448cd7d1013861e42947b1b55
/external/clang/tools/driver/driver.cpp
|
87d948ecccffea9e9e37d0d053b246e2d6d6c47b |
|
04-Mar-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master clang for rebase to r256229 http://b/26987366 Change-Id: I5d349c9843ea5c24d6e455956f8a446393b6873d
/external/clang/tools/driver/driver.cpp
|
b6d6993e6e6d3daf4d9876794254d20a134e37c2 |
|
01-Jul-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master clang for rebase to r239765 Change-Id: I0393bcc952590a7226af8c4b58534a8ee5fd2d99
/external/clang/tools/driver/driver.cpp
|
0e2c34f92f00628d48968dfea096d36381f494cb |
|
23-Mar-2015 |
Stephen Hines <srhines@google.com> |
Update aosp/master clang for rebase to r230699. Change-Id: I6a546ab3d4ae37119eebb735e102cca4f80ab520
/external/clang/tools/driver/driver.cpp
|
176edba5311f6eff0cad2631449885ddf4fbc9ea |
|
01-Dec-2014 |
Stephen Hines <srhines@google.com> |
Update aosp/master Clang for rebase to r222490. Change-Id: Ic557ac55e97fbf6ee08771c7b7c3594777b0aefd
/external/clang/tools/driver/driver.cpp
|
c568f1e98938584c0ef0b12ae5018ff7d90a4072 |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for rebase to r212749. This also fixes a small issue with arm_neon.h not being generated always. Includes a cherry-pick of: r213450 - fixes mac-specific header issue r213126 - removes a default -Bsymbolic on Android Change-Id: I2a790a0f5d3b2aab11de596fc3a74e7cbc99081d
/external/clang/tools/driver/driver.cpp
|
6bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89 |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for 3.5 rebase (r209713). Change-Id: I8c9133b0f8f776dc915f270b60f94962e771bc83
/external/clang/tools/driver/driver.cpp
|
651f13cea278ec967336033dd032faef0e9fc2ec |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Updated to Clang 3.5a. Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/tools/driver/driver.cpp
|
b102cdc87e59bf328982342f94fad2788177af16 |
|
06-Nov-2013 |
Yaron Keren <yaron.keren@gmail.com> |
This patch modified ExeBasename as clang-cl.exe to match the preceding comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194170 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
fcb448a70d796c1cfabeb6f9456526c594848568 |
|
07-Oct-2013 |
David Majnemer <david.majnemer@gmail.com> |
Driver: Use the canonical command line arguments. Summary: Use the arguments given to the OS at process creation-time instead of the arguments passed into main() by the C runtime environment. The ones that main() received may not be suitable (e.g. not Unicode). Depends on D1834 CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1835 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
8cb1bf84540d73a609105fd04e851a2d3d37389a |
|
04-Sep-2013 |
Reid Kleckner <reid@kleckner.net> |
clang-cl: Use "clang cl.exe" when disambiguating the diagnostic prefix. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189909 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
7b7fd838f24f67920d5287962765b772592e905e |
|
04-Sep-2013 |
Reid Kleckner <reid@kleckner.net> |
clang-cl: Avoid confusing diagnostics when clang-cl is called just cl.exe git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189901 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
3f7e66ce7bac0e85586e90cd15befdc049b3a5f3 |
|
21-Aug-2013 |
Eli Friedman <eli.friedman@gmail.com> |
Fix iterator invalidation. PR16935. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188835 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
13124bb43061cdaae15b1d0dbfdd0b83565570e2 |
|
20-Aug-2013 |
Hans Wennborg <hans@hanshq.net> |
Look at lowercase version of argv[0] when determining driver mode git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
f3db6835d15c9d0f6345d78c1569e730dfdbb93e |
|
08-Aug-2013 |
Hans Wennborg <hans@hanshq.net> |
Remove misleading comment about using cc1 option table. There hasn't been a separate cc1 option table since r155916. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187993 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
f7400864c4a046b9a07a2a3740ddc3a4c03cbb46 |
|
23-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove support for CCC_ADD_ARGS. QA_OVERRIDE_GCC3_OPTIONS supersedes it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186983 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
c2f531a1300cc7a79cb8dde12cb993da82beba1b |
|
19-Jul-2013 |
Hans Wennborg <hans@hanshq.net> |
Add a cl.exe compatible driver mode The mode doesn't actually do anything yet, but this provides a way to get into it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186720 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
76b86c2e79a58910a641d449f229889d671d8a38 |
|
18-Jul-2013 |
Hans Wennborg <hans@hanshq.net> |
Turn Driver::CCCIsCXX and CCCIsCPP into a single Mode enum, and add a new option --driver-mode= to control it explicitly. The CCCIsCXX and CCCIsCPP flags were non-overlapping, i.e. there are currently really three modes that Clang can run in: gcc, g++ or cpp, so it makes sense to represent them as an enum. Having a command line flag to control it helps testing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186605 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
87f2cb5aec7b81ea6f6f9fbf6e14ef4f2de6dea6 |
|
18-Jul-2013 |
Reid Kleckner <reid@kleckner.net> |
[Driver] Use LLVM's response file parser because it can read UTF-16 MSBuild writes response files as UTF-16 little endian with a byte order mark. With this change, clang will be able to read them, although we still can't parse any of their flags. Adds a UTF-16-LE response file with a BOM for testing. Differential Revision: http://llvm-reviews.chandlerc.com/D1137 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186603 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
26a4001a4bbc33ebdf6102d604d6b793bdbffa99 |
|
15-Jul-2013 |
Craig Topper <craig.topper@gmail.com> |
Revert 186302 to fix build bots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186305 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
429d3be1ae25df8d6451f8864188ab34451a6a10 |
|
15-Jul-2013 |
Craig Topper <craig.topper@gmail.com> |
Use llvm::array_lengthof to replace sizeof(array)/sizeof(array[0]). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186302 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
91d1b5202b06a89ddaf5baa1c4f911dd9daa60d2 |
|
26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove unused header. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184937 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
ac1db6b2bde50e9a0f3846243f654f6c13682725 |
|
26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use llvm::sys::fs::getMainExecutable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184915 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
a372f40dac73b69936f6a713df0808c740bb326c |
|
17-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Include PathV1.h only where it is used. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
b1e25a1bc03292dc538d336573e0be1490223171 |
|
14-Jun-2013 |
Reid Kleckner <reid@kleckner.net> |
[Driver] Refactor clang driver to use LLVM's Option library The big changes are: - Deleting Driver/(Arg|Opt)* - Rewriting includes to llvm/Option/ and re-sorting - 'using namespace llvm::opt' in clang::driver - Fixing the autoconf build by adding option everywhere As discussed in the review, this change includes using directives in header files. I'll make follow up changes to remove those in favor of name specifiers. Reviewers: espindola Differential Revision: http://llvm-reviews.chandlerc.com/D975 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
2289933d3dfad854c006c02738abb1c57d1d587e |
|
13-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Update for llvm change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183930 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
a603569515eea06e54e6e041b1c690d33086f375 |
|
12-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use the global functions instead of the Program methods. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183861 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
7020346e4137375d41fc4ac70bfda06e2c724444 |
|
27-Mar-2013 |
Chad Rosier <mcrosier@apple.com> |
Remove a FIXME that's not planned to be fixed. We only generated crash diagnostics for the first failing command. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178086 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
035425386b3af7347fe1e777a404dbe1cf5409d2 |
|
10-Mar-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Driver: do not strip file extensions when printing diagnostics. Before: clang-3: error: no input files After: clang-3.3: error: no input files This means that we'll also print clang.exe on windows, but I don't see a problem with that. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176788 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
79165b82ddc881c705275fe9eb5a745f717a1eda |
|
21-Feb-2013 |
Chad Rosier <mcrosier@apple.com> |
[driver] Handle the processing of the QA_OVERRIDE_GCC3_OPTIONS and CCC_ADD_ARGS before the DiagnosticsEngine is instantiated. Otherwise, warning options are not handled correctly. rdar://13254743 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
3f6f51e28231f65de9c2dd150a2d757b2162cfa3 |
|
08-Feb-2013 |
Jordan Rose <jordan_rose@apple.com> |
Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. Nearly all of these changes are one-to-one replacements; the few that aren't have to do with custom identifier validation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174768 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
a16355c31878403443f99077cc8df8318457faf5 |
|
29-Jan-2013 |
Chad Rosier <mcrosier@apple.com> |
[driver] Refactor the driver so that a failing commands doesn't prevent subsequent commands from being executed. The diagnostics generation isn't designed for this use case, so add a note to fix this in the very near future. For now, just generated the diagnostics for the first failing command. Part of rdar://12984531 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173825 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
08e79d2f075d1326ff7a849fd1bc88dadf99d574 |
|
15-Jan-2013 |
Chad Rosier <mcrosier@apple.com> |
[driver] Warnings for warning options are handled by the frontend. The driver needs to process the warning options to setup diagnostic state, but should not be emitting warnings as these would be rudndant with what the frontend emits. rdar://13001556 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172497 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
a57b3b4fea1c962678972af8fc74e121ff8b296d |
|
25-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Produce an actual error before attempting to attach notes to it when bailing out due to FORCE_CLANG_DIAGNOSTICS_CRASH=1. Also add a test for that env var. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171074 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
f59edb96b2d0bfe612b732f19519ab84bb995bd4 |
|
04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort #include lines for tools/... Completely automated with sort_includes.py git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169240 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
17c874a944090a74aa890d7b5ef361be6e4a0184 |
|
27-Nov-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove some dead code. CLANG_IS_PRODUCTION is now just a build flag and is not used in any #ifdef. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168703 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
5af8de8c7255ca4df52cbb0d5e0d28d67c53524c |
|
12-Nov-2012 |
Chad Rosier <mcrosier@apple.com> |
If we encounter a fatal error, exit with status 70. For BSD systems this is defined as an internal software error. This notifies the driver to report diagnostics information. rdar://11951540 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
02c23ebf41ae2f70da0ba7337e05c51fbfe35f7f |
|
24-Oct-2012 |
Douglas Gregor <dgregor@apple.com> |
Make DiagnosticOptions intrusively reference-counted, and make sure the various stakeholders bump up the reference count. In particular, the diagnostics engine now keeps the DiagnosticOptions object alive. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166508 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
a74e4afa5764ffa8c335dea3d0047a00a17e7a24 |
|
11-Sep-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Just revert r163605 for now. It broke the build and had some questionable elements to the patch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163609 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
6d445a6ad64302f0aac584fe8767934a1993cdd3 |
|
11-Sep-2012 |
David Chisnall <csdavec@swan.ac.uk> |
Select the correct, or, failing that, compatible, dialect when invoked as cc, c89, c99, and so on. No change to the default dialect when invoked as clang / clang++. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163605 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
df9b933aa354b8108cee028cc4726cfa9f2df62c |
|
17-Jul-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
[Win32] Rework crash-report since r145389. - lib/Driver/Driver.cpp, tools/driver/driver.cpp: Exit status should not be propagated, although clang driver should catch exceptions. - test/Driver/crash-report.c: Add REQUIRES:shell for now. FIXME: setenv should work also on Lit.InternalShellRunner. - test/Driver/crash-report.c: Remove XFAIL. Thanks to Chad, To point out the issue. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160343 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
bfd7a525bcf372004787cb641b8c1566b9e8aba5 |
|
01-May-2012 |
James Molloy <james.molloy@arm.com> |
Unify Options.td and CC1Options.td, in a first step towards unifying the serialization logic in Frontend and Driver. Reviewed by Eric, Doug and Chandler, and here: http://llvm.org/reviews/r/7/ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155916 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
80ec127fc9af8b83eea326fbd65265a1adc307d8 |
|
20-Apr-2012 |
Chad Rosier <mcrosier@apple.com> |
Add a little hack to emulate a clang crash, so the diagnostics generator can be tested. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155205 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
2dec85b21822f950bf6035640c496ad835e11728 |
|
13-Mar-2012 |
Chad Rosier <mcrosier@apple.com> |
[driver] Parse diagnostic args in the driver. Previously, only diagnostics thrown by the cc1 process were actually honoring the diagnostic options given on the command line, like -Werror. Reuse the existing code in Frontend currently used for cc1, adjusting it to not interpret -Wl, linker flags as warnings. Also fix a faulty test exposed by this change. It wasn't actually testing anything, and was giving this warning: clang-3: warning: argument unused during compilation: '-verify' Which -Werror didn't turn into an error because it was output by the driver, not the cc1 process, and diagnostic options weren't parsed by the driver. And you couldn't see the warning when running the test suite. Fixes PR12181. Patch by Dylan Noblesmith <nobled@dreamwidth.org>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152660 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
c93dc7889644293e318e19d82830ea2acc45b678 |
|
20-Feb-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
Basic: import IntrusiveRefCntPtr<> into clang namespace The class name is long enough without the llvm:: added. Also bring in RefCountedBase and RefCountedBaseVPTR. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
36d592718ff342f762e32cbde73d1113f88cb275 |
|
13-Feb-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
drop more llvm:: prefixes on SmallString<> More cleanup after r149799. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
1e4c01b79273b9cd4e9e9ecfd3422df3900b8356 |
|
13-Feb-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
drop more llvm:: prefixes on OwningPtr<> More cleanup after r149798. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
9ec60dfe771ff28a84889dced6f8fd3748d3d55e |
|
20-Jan-2012 |
Sebastian Pop <spop@codeaurora.org> |
rename -ccc-host-triple into -target git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148582 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
31cbe684302a5ccb001fa2131c0e4aeaa372f5c0 |
|
13-Jan-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Revert r148138; it's causing test failures. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148141 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
edd4f3c39101912605c2a1868dd2be71aa218798 |
|
13-Jan-2012 |
Sebastian Pop <spop@codeaurora.org> |
rename -ccc-host-triple into -target git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148138 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
1770e0dadcab966990cca4d7516253c886fd907c |
|
22-Dec-2011 |
Dylan Noblesmith <nobled@dreamwidth.org> |
remove unneeded config.h includes git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147195 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
5d8b9548420e67f1bf45b7bbc1cf9fb86e9e4505 |
|
01-Nov-2011 |
Sebastian Pop <spop@codeaurora.org> |
rename getHostTriple into getDefaultTargetTriple in clang git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143503 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
10a82cde7c317c5dd41dc3faf17f503c52ce2a3d |
|
04-Oct-2011 |
Bob Wilson <bob.wilson@apple.com> |
Rip out flags for controlling C++ "production mode" separately. This is old leftover cruft from the days when C++ was not yet ready for prime time. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141063 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
d6471f7c1921c7802804ce3ff6fe9768310f72b9 |
|
26-Sep-2011 |
David Blaikie <dblaikie@gmail.com> |
Rename Diagnostic to DiagnosticsEngine as per issue 5397 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140478 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
a6b4045dc462c03cd1e7cb9c3ec9dbfdb9c6ad62 |
|
24-Aug-2011 |
Evan Cheng <evan.cheng@apple.com> |
Match LLVM change: TargetRegistry and TargetSelect have been moved to Support. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138451 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
2b81910618f63e4ce2373c926a26e76b4b91373f |
|
02-Aug-2011 |
Chad Rosier <mcrosier@apple.com> |
When the compiler crashes, the compiler driver now produces diagnostic information including the fully preprocessed source file(s) and command line arguments. The developer is asked to attach this diagnostic information to a bug report. rdar://9575623 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136702 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
5f9e272e632e951b1efe824cd16acb4d96077930 |
|
23-Jul-2011 |
Chris Lattner <sabre@nondot.org> |
remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports them into the clang namespace. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
d7a3ba03f69892aac02e0771eb2e6d1b7b1d1267 |
|
20-Jul-2011 |
Chad Rosier <mcrosier@apple.com> |
Temporarily revert r135614 while I fix the cmake build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135621 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
2da13b15959365df7edf1ed12a049b599b39c276 |
|
20-Jul-2011 |
Chad Rosier <mcrosier@apple.com> |
When the compiler crashes, the compiler driver now produces diagnostic information including the fully preprocessed source file(s) and command line arguments. The developer is asked to attach this diagnostic information to a bug report. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
ca0264320a02c636beaedf834e8725b7d1d767e7 |
|
07-Jul-2011 |
Joerg Sonnenberger <joerg@bec.de> |
Slightly improve the code to derive target from program name to not fault if no arguments are given. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134618 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
c8a22b091677c02003880166e5d5767ca8d74b70 |
|
07-Apr-2011 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Sketch driver support for a CC_LOG_DIAGNOSTICS options, similar to the existing CC_PRINT_OPTIONS and CC_PRINT_HEADERS, which can be used to transparently capture the compiler diagnostics from a build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129082 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
7f9fc3f7ce076645cb6aefc99c64d9446caf13d6 |
|
23-Mar-2011 |
Chris Lattner <sabre@nondot.org> |
switch a few Driver APIs to use llvm::ArrayRef, cleaning up code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128142 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
0ce89c6b36004b2def9e7606c7d4678885314d5f |
|
16-Mar-2011 |
Joerg Sonnenberger <joerg@bec.de> |
Refactor program name logic. Extend it to infer the target triple from the program name, if it includes it as proper prefix. This makes calling clang with -ccc-host-triple x86_64-linux the same as calling it with the name x86_64-linux-clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127753 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
9ade4ae4fb7ed1fcbd63835d9f8f53052f0657a2 |
|
07-Mar-2011 |
Joerg Sonnenberger <joerg@bec.de> |
If called as *cpp or *cpp-[^-]*, run only the preprocessor. If no input is specified, use stdin implicitly. Based on a patch from Roman Divacky. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
322c29fefe7fa33f03273136eb5f8b7f5b4df7c0 |
|
02-Feb-2011 |
Daniel Dunbar <daniel@zuster.org> |
clang: Add support for a CC_PRINT_HEADERS environment variable, which mirrors CC_PRINT_OPTIONS and can be used to get some out-of-band information on header usage from a build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
43d013d7060e77f0d15faa9cff820c343ba5629a |
|
17-Jan-2011 |
Douglas Gregor <dgregor@apple.com> |
Add missing <cctype> include, from Joerg Sonnenberger git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123668 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
fbfd180495e7800975c6d9bdc6d24e706ef70e34 |
|
21-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Replace all uses of PathV1::makeAbsolute with PathV2::fs::make_absolute. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122340 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
d5b08bee799d4f77f1a25fa5977ca77b983ab031 |
|
18-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Replace all uses of PathV1::get{Basename,Dirname,Suffix} with their PathV2 equivalents. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122140 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
472ccff00cdbcd095c3ba933b9e3f202719f118f |
|
18-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Replace all uses of PathV1::getLast with PathV2::filename. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122117 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
4eeebc464e1f968d9968a4786c82558f18ac2ed8 |
|
16-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
MemoryBuffer API update. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121956 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
3a321e23f66128dbb986343927456ff6702af617 |
|
09-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Use error_code instead of std::string* for MemoryBuffer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
03013fa9a0bf1ef4b907f5fec006c8f4000fdd21 |
|
29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Merge System into Support. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120297 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
33e4e70c8c0a17e0ccb7465d96556b077a68ecb1 |
|
18-Nov-2010 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Refactoring of Diagnostic class. -Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class. -DiagnosticIDs can be shared among multiple Diagnostics for multiple translation units. -The rest of the state in Diagnostic object is considered related and tied to one translation unit. -Have Diagnostic point to the SourceManager that is related with. Diagnostic can now accept just a SourceLocation instead of a FullSourceLoc. -Reflect the changes to various interfaces. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
aeed3da83c112d0649c30493c059314d85d99080 |
|
30-Oct-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Turns out that we may end up calling dladdr on GetExecutablePath, give it external linkage to make sure the lookup works on all platforms. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117813 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
5e0cc38286e4063d34791437322c59af5e0679e5 |
|
30-Oct-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
This function doesn't need external linkage either. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
79e9e9dd533de9609ef141449bf50e705fa68fd0 |
|
06-Sep-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make "-ccc-cxx" option work on Linux. Patch by nobled. I also took the opportunity to make the field private since now it is only ready from the outside. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113138 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
bdbb004f38978da0c4a75af3294d1c7b5ff84af1 |
|
19-Aug-2010 |
Douglas Gregor <dgregor@apple.com> |
Simplify the ownership model for DiagnosticClients, which was really convoluted and a bit leaky. Now, the Diagnostic object owns its DiagnosticClient. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111437 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
edf29b00bc1641034b38be92146e15f0625a45d2 |
|
02-Aug-2010 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Keep track of a separate "install dir", which is the path where clang was invoked from (which may not be where the executable itself is). - This allows having e.g., /Developer/usr/bin/clang be a symlink to some other location, while still making sure the Driver finds 'as', 'ld', etc. relative to itself. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
5633c1e4a7a5dd6dc5a4468f1660fabe70b0d2f8 |
|
02-Aug-2010 |
Daniel Dunbar <daniel@zuster.org> |
Simplify. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109988 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
e5d69670b6e49d11287bc8f031e0e2081755cfac |
|
20-Jul-2010 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Switch to using a SmallVector instead of std::vector, and stop accessing outside the range of the vector (which always asserts on Win32). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108802 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
8a1af325b424c3cf62a6164a43466b473ec5a666 |
|
19-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Implement support for reading arguments specified in a file with @file. If there is no file named "file", keep the @file option unchanged. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108697 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
6658874a26a139088d7288fd35741c1d5e7caf6b |
|
19-Jul-2010 |
Daniel Dunbar <daniel@zuster.org> |
Revert r108672, "Implement support for reading arguments specified in a file with @file.", it doesn't correctly handle cases where arguments starting with '@' are passed to other command line arguments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
1c2ab11bc5c72e03f27e5689c7432e879b425d06 |
|
19-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Implement support for reading arguments specified in a file with @file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108672 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
0bbad519aa068206f1e158d5073f72a39fbe83c5 |
|
19-Jul-2010 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Change the driver to take the path to the main executable, instead of taking it in pieces. - Fixes a problem where the Clang executable path was not initialized properly on Win32, because sys::Path::getBasename() doesn't do what I always think it does. Imagine that, a sys::Path interface that is confusing! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108667 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
06e35d3d02a1147a448cf08c9c34bc3acccaa63c |
|
19-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Refactor the code a bit so that there is only one call to BuildCompilation. The StringPointers vector will also be used in the normal case to handle @file arguments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108660 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
41b5b17445ab3bdf957ebd4be6c8670f09a212a8 |
|
20-May-2010 |
Daniel Dunbar <daniel@zuster.org> |
Driver/MC: Add 'clang -cc1as' integrated assembler tool, currently accepts approximately the same interface as 'llvm-mc'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104239 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
5d93ed3c7a2dae0a8f422747e269963b3ef11d95 |
|
01-Apr-2010 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Add support for a CLANGXX_IS_PRODUCTION build variable, which enable Clang++ support, even in "Production" mode (for testing purposes). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100119 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
30bc7e8e560941f730fd94109e81ac600767b0ab |
|
30-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
make -ftime-report work even in -disable-free mode. Woo, finally. rdar://7781603 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99878 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
4c00fcdf98d3d7c4cb47b64f8b770f8f4bff1357 |
|
20-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Support CC_PRINT_OPTIONS, used for logging the compile commands (in -v style) to a file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99054 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
240c734ee5a57000fdb870109e50102317b2cc3d |
|
08-Mar-2010 |
Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> |
Mark variable as const git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97951 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
af20afb761a2426cd715fb8db36b90092e0bb6ef |
|
25-Feb-2010 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Use TextDiagnosticPrinter instead of a custom one. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97102 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
0de9a7beb107a4306d05cf3589f10c3e01cfcee2 |
|
17-Feb-2010 |
Daniel Dunbar <daniel@zuster.org> |
clang: Add support for s// edit form of QA_OVERRIDE_GCC3_OPTIONS. - Used to do regex patsubst on arguments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96512 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
0dea4be511706307849d83a89f56695444c718ac |
|
25-Dec-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Use "g++" as generic gcc name when running in C++ mode, for platforms that lack real tool definitions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
e3fdca2ee0346a41d9cc5ee417a75e66274216f5 |
|
08-Dec-2009 |
Jeffrey Yasskin <jyasskin@google.com> |
Remove several .c_str() to be forward-compatible with StringRef. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
0f4c59c3beae302b5a3ecea13f2e257bdaad3188 |
|
04-Dec-2009 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add gcc's -no-canonical-prefixes option to clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90577 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
c88aa79a6bdfd445df800006f723f83f39934e98 |
|
30-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Put CompilerInvocation testing code in clang-cc instead of clang for now, I can't bear to link all of clang into 'clang' yet. :) - Still triggered by a magic leading -cc1 argument, as before. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90114 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
545c28117c64e78521b8b402caa060ba0b58a530 |
|
29-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Change CompilerInvocation::CreateFromArgs to take Argv0 and the address of main (or something in the main executable) so it can find the builtin compiler files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
d5dc9f34ef2288ace0003e1fee011cc9e7d2d040 |
|
20-Nov-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add a workaround to silence a bogus g++-4.4 -pedantic warning. driver.cpp:211: warning: ISO C++ forbids zero-size array 'argv' git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89455 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
217acbfa3524d5805fda7900b26c1e779443588d |
|
19-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Sketch some 'clang -cc1' support, for testing parts of CompilerInvocation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89333 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
265e9ef9f3ef30a97790e6e7bbc3c17d97981ca7 |
|
19-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: ArgList doesn't depend on Options.h anymore. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89313 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
e26bd90e5f7c1e44dd2b74d84d2f158dc7b983fb |
|
11-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix unsafe use of StringRef I introduced. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86829 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
8fa01c8f98ff7c8f40fee5014c9c393d806381a4 |
|
10-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Run 'clang' in C++ mode based on the name it was invoked by. We match anything that ends with ++ or ++-FOO (e.g., c++, clang++, clang++-1.1) as being a "C++ compiler". This allows easy testing of the C++ compiler by 'ln -s clang clang++', or by 'cp clang clang++'. Based on patch by Roman Divacky. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86697 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
f44c58563286bb448a72ed9c9af5f21718633230 |
|
23-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Push "clang-is-production" logic up to tools/driver, and make it hittable by defining the CLANG_IS_PRODUCTION Makefile variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82583 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
237a31bf663c8c3783bd71dc7cfbdd0425a8ba69 |
|
17-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix indentation / trailing white space. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
e3d6023cbf99a24609f52adb0af1fa1c6dafefd7 |
|
16-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
[llvm up] Add support for '#' component of QA_OVERRIDE_GCC3_OPTIONS. - This silences the output about how command line arguments are being changed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76107 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
c88a88f6f7672b6bb831dce9da4acfa0c846975f |
|
01-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Move Compilation::Execute to Driver::ExecuteCompilation. - The Compilation is just a helper class, it shouldn't have that amount of logic in it. - No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74634 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
0311d47665bcdd186af6fc1bcfa40cf186ae7b9a |
|
26-May-2009 |
Daniel Dunbar <daniel@zuster.org> |
Revert to using &...[0] for std::vector, apparently .data isn't generally available (and it isn't necessary in this case). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72425 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
549adebb1cef65778c0f2ba8dacd0c7511711b03 |
|
26-May-2009 |
Daniel Dunbar <daniel@zuster.org> |
Use .data() vs &...[0] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72420 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
8e6e70928adebea871389febd9b54ca82821dc87 |
|
26-May-2009 |
Daniel Dunbar <daniel@zuster.org> |
The driver/diagnostic client don't need to be on the heap. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
ec9587d5bed6149f6df8b57192bb787c62aedb1b |
|
17-Apr-2009 |
Daniel Dunbar <daniel@zuster.org> |
Support QA_OVERRIDE_GCC3_OPTIONS - Cover your eyes... - This is a simple but effective way to allow developers to build a project with clang while manipulating the command line, without having to edit the project itself. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69342 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
a1e2fd9b580ae583b91d3288d59c00ca9f6a56b8 |
|
10-Apr-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: CCC_ADD_ARGS could end up using dangling pointers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
6b83f669b2ed6e7353cd849601fae9c88525bf19 |
|
01-Apr-2009 |
Daniel Dunbar <daniel@zuster.org> |
Allow CCC_ADD_ARGS to add empty arguments git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68235 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
e5be6dac24946e9521af78fce8e531e605f563d4 |
|
01-Apr-2009 |
Daniel Dunbar <daniel@zuster.org> |
Support CCC_ADD_ARGS in new driver. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68231 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
af07f936b698575f2c91f1c1134c116f1ef0dedd |
|
31-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
(LLVM up) Update to use llvm::sys::getHostTriple(). - Always pass -triple to clang-cc (-arch will be removed). - clang-cc doesn't play guess work with the target triple anymore. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68119 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
7ec3dafdda96abcd1ff0841deef4eadfeb8f1208 |
|
24-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Rename clang-driver to clang. Again, I tried to update cmake but it is untested. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
af96def468042cfbed55a4cc12b1bb917ead4f33 |
|
21-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Give Compilation::Execute total control over the Driver result code; and don't return an error code when -### is present, even if errors occur. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67425 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
734932c7dc77a16b15d466588e10d76bcd6d13c7 |
|
18-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Get executable path using llvm::sys::Path::GetMainExecutable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67228 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
510d73200ec48496a2b10703385fe99b51e31fa5 |
|
18-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Use custom diag printer to drop dependency on libFrontend and libLex. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67155 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
8f25c79e59d88df41c5a3cabba1c58035d384a6e |
|
18-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Use PrettyStackTrace. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67149 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
f353c8cc2ee1cc16ff194b399a8d951f707fb129 |
|
16-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Implement majority tool binding logic. - Still need code for determining proper output location. - Doesn't work yet, of course, as the host isn't providing real tool chains. - Interface still has a few warts, but has gotten a nice bit of polish during the rewrite. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67038 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
ab835430b4f758dd49903251c7c7f21b95933c89 |
|
13-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Return 0 from BuildCompilation on -ccc-print-phases, -ccc-print-options. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66907 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
4ad4b3ebbe5769143389dccfcfadb666a4ba5940 |
|
12-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Use standard Diagnostic interface for diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
dd98e2cad165ca73c769e4f105a4e47c2216387a |
|
11-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Add host info. - Replace assorted -ccc-host-* options by -ccc-host-triple which is more sane. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66600 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
365c02f65be026f90e67a8e00e7b827cee60e228 |
|
10-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Handle magic -ccc- options. - Follows ccc currently, but this functionality should eventually be outside the Driver lib. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66575 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
1b3bb6efc59a21f794b534078f9ae7e95393f510 |
|
04-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Sink Driver/Compilation into clang::driver namespace. - Add OptTable instance to Driver. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66063 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
2c6f6f3c170502c5b810102cf85f05732a2aa9d0 |
|
04-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Driver: More Option implementation. - Add Options.def file, collects option information. - Actual option instantiation is handled lazily by OptTable to allow the driver to not need to instantiate all options. - cast<> support for Option, other minor tweaks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66028 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
1eb4e64eed08837b85a375d6a953503daa844f07 |
|
03-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Sketch Driver Option classes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65933 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|
3ede8d0a7d1813f678ccc6011a99a0834b1b6116 |
|
02-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Stub out some structure for C++ driver. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65867 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/driver/driver.cpp
|