History log of /external/clang/lib/Driver/ArgList.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/lib/Driver/ArgList.cpp
3060178ad9df29789505c1e6debcfc80a3a13587 18-Aug-2011 Chad Rosier <mcrosier@apple.com> Fix else style. No functionality change intended.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137896 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
b18d503bc939281d8ea0dacea44e847297b92e8d 13-Aug-2011 Chad Rosier <mcrosier@apple.com> [driver] Make sure to update the iterator end when erasing for Args.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137539 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
aec8f4538dfc4fbe9dca92db63688b84f8f0c2a1 08-Aug-2011 Chad Rosier <mcrosier@apple.com> Improved efficiency by using iterator returned by erase, rather then restarting.
Thanks to David Blaikie for pointing this out.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137051 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.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/lib/Driver/ArgList.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/lib/Driver/ArgList.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/lib/Driver/ArgList.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/lib/Driver/ArgList.cpp
bcf6a8025aa50f3f28cfbd0470cf3e8f5cffbab2 05-Jul-2011 Douglas Gregor <dgregor@apple.com> StringRef'ize clang::drive::Option::getName(), from Zach Wheeler!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
3fdcc6fb12d7cf38d2a3111736f80f0dd55447b4 31-Dec-2010 Nick Lewycky <nicholas@mxc.ca> Remove stray emacs mode markers in all these files that was causing emacs to
open them in fundamental-mode instead of c++-mode.
Also twiddle whitespace for consistency in ToolChains.cpp.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122646 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
592f241d0abd000f404a12fba1474d4d963d7ff7 20-Dec-2010 Rafael Espindola <rafael.espindola@gmail.com> Fix PR8639 by making the "argument unused during compilation" less agressive. Now we
don't warn if an argument is not used because it is shadowed by a subsequent argument.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122281 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
9d520c5ae802fc175c61032b289ddd6968e6ddd2 11-Oct-2010 Axel Naumann <Axel.Naumann@cern.ch> Declare argv parameters as const char* const* instead of to char** to clarify that they are not modified, and to allow for string literals as arguments.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
47e879dfa735f81472a51b1bd69cc4eb9159db39 14-Jul-2010 Daniel Dunbar <daniel@zuster.org> Driver/Darwin: Pass -pie/-no_pie to the linker when -fpie/-fno-pie and friends
are explicitly given.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108297 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
fdbe65e587b85cf48f093d531a78fa3b2d9961b8 14-Jun-2010 Daniel Dunbar <daniel@zuster.org> Driver: Fix refacto in DerivedArgList::MakeSeparateArg.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
279c1dbebf37cd128f3c73c70741a6b8c35ad025 12-Jun-2010 Daniel Dunbar <daniel@zuster.org> Driver: Add an explicit argument translation phase to the driver itself. We are going to need this to handle things like -Xassembler, -Xpreprocessor, and -Xlinker which we might have to introspect.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105842 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
3612bc80fabcdd337f6d1df06e69b38c2c5f5a32 12-Jun-2010 Daniel Dunbar <daniel@zuster.org> Driver: Get rid of the proxy support in DerivedArgList.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105841 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
7e4953e5c60409007545288f14b430bd23d68570 12-Jun-2010 Daniel Dunbar <daniel@zuster.org> Driver: Fix arg_iterator typing to reflect that it is really an iterator over Arg*s.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105838 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
532c1ec307b8689e95896a11ce5ae4661fa9e5d3 10-Jun-2010 Daniel Dunbar <daniel@zuster.org> Driver: Eliminate Arg subclasses, which are now unnecessary.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105762 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
4465a776a56de81211ae4672e5782c6bef075135 10-Jun-2010 Daniel Dunbar <daniel@zuster.org> Driver: Change Arg to just hold the values directly, instead of implicitly
deriving them from the Arg type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105760 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
312a8b726e24078d3bd3b2328f9f895d1407cdb7 09-Jun-2010 Daniel Dunbar <daniel@zuster.org> Driver: Add an explicit offset to JoinedArg and JoinedAndSeparateArg, so that
they can be independent of the exact option that created them.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105739 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
5e30b8bf56c41fcfec63ae82ddd461c99f3c4221 22-May-2010 Daniel Dunbar <daniel@zuster.org> Attempt to make MSVC happy.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104432 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
a5ddbcac1e784d3e438fc6233a9e0f5516dc35ef 21-May-2010 Benjamin Kramer <benny.kra@googlemail.com> Try to fix MSVC build.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104371 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
03e8ab2947a848fb0ce723dcebb1c19697614307 20-May-2010 Daniel Dunbar <daniel@zuster.org> Driver: Move some argument lookup utilities into driver::ArgList.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
fd48cb31d409cb1f8e1f119426965e498652e2d1 11-Mar-2010 Daniel Dunbar <daniel@zuster.org> Driver: Free synthesized derived arguments.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98262 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
cbc6a631c85722966c01297e67a63d4a67ac8fdb 10-Mar-2010 Ted Kremenek <kremenek@apple.com> Fix -Wsign-compare warnings reported by clang++.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98174 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
3b84f5bab9f134741cf4d3c80086009519b6d968 25-Nov-2009 Daniel Dunbar <daniel@zuster.org> Add an arg_iterator, for iterating over a subset of arguments in an ArgList.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89860 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
9e1f98260a1842df4bb8e6de0b592a1622dcfdc0 19-Nov-2009 Daniel Dunbar <daniel@zuster.org> Driver: Introduce OptSpecifier class for protecting access to an option id.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89310 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
e4bdae78c69d2a09ee96619cc5ccf81441674412 19-Nov-2009 Daniel Dunbar <daniel@zuster.org> Driver: Switch to using explicit {getLast,has}ArgNoClaim functions instead of taking a Claim argument.
- Most driver code always claims, and bool arguments don't play nice with the overloads.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89308 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
16484afe5ca790d2f9a16650638e54067c037d7d 10-Sep-2009 Daniel Dunbar <daniel@zuster.org> StringRefize ArgList construction of ArgStrings.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81385 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
1eb4433ac451dc16f4133a88af2d002ac26c58ef 09-Sep-2009 Mike Stump <mrs@apple.com> Remove tabs, and whitespace cleanups.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
45483f7a1b3e57b4603b141bee80596b2d4dd443 28-Jun-2009 Bill Wendling <isanbard@gmail.com> Add stack protector support to clang. This generates the 'ssp' and 'sspreq'
function attributes. There are predefined macros that are defined when stack
protectors are used: __SSP__=1 with -fstack-protector and __SSP_ALL__=2 with
-fstack-protector-all.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74405 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
4df9a664b7a0bfbd065253349cc5ead88b50b9a2 26-Apr-2009 Daniel Dunbar <daniel@zuster.org> Add option for AddAllArgsTranslated to control whether output argument
should be joined or separate.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70101 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
9af6668984f1594459a58c381d95272aa7ca7663 07-Apr-2009 Daniel Dunbar <daniel@zuster.org> Driver: Add default for ArgList::hasFlag and simplify implementation.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68549 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
68fb469aeb19144403e703b825854d08353c8eea 03-Apr-2009 Daniel Dunbar <daniel@zuster.org> Driver: Explicitly ignore -fpch-preprocess when using clang, we don't
need to do anything special to support this.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68403 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
776dbd8b0e4414e5002ffe6e8bd9a7e79879521d 30-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Unbreak ArgList::hasFlag.
- <rdar://problem/6726511> [driver] clang does not have -msoft-float
hooked up.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
478edc295efc560627053e2320bedd2f696ae028 30-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Track which original arguments an arg is derived from, so that
we can properly claim arguments, even if they have been translated by
the tool chain.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68020 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
524b9fb54564ab8bc437118ed55ee7c9e8c1247d 26-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Add ArgList::AddAllArgsTranslated; for forwarding options to
tools with the name of the option replace, and arguments rendered
separately.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67753 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
f3cad36e59a41b5767fe662b5ac8911ee174b801 25-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Prep for tool chain specific argument translation.
- Lift ArgList to a base class for InputArgList and DerivedArgList.

- This is not a great decomposition, but it does embed the
translation into the type system, and keep things efficient for
tool chains that don't want to do any translation.

- No intended functionality change.

Eventually I hope to get rid of tool chain specific translation and
have each tool do the right thing, but for now this is the easiest way
to match gcc precisely (which is good for testing).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
fe2e04a979205c1f395b699a24d74adb82bb4833 24-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: ArgList::getLastArg was in fact returning the first matching arg.
- <rdar://problem/6715818> clang doesn't honor gcc semantic that last
-O optimization option wins.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67628 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
b0c4df5c4df69a003f26b378eb95961bc7c486e5 23-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Implement 'missing argument' error.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67490 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
ee51031c3734176d00723054c765538fcffc0984 20-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Add two option overload for AddAllArgValues.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67377 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
18a7f33af877fca8f72cfde00d52f4aef600547f 18-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Add argument translation utilities to ArgList.
- Support things like telling which -ffoo -fno-foo option won, and
forwarding all arguments matching a certain set of options to the
tool.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67189 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
ec504fdfef7d4983f76b90c6bb28e438ab2ffbb7 17-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Fix typo ArgList destructor.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67101 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
cd4e186cdc1db0dcac937eb20afe8b5f5ff1a38d 17-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Add two option form of ArgList::getLastArg.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
3494bb1e01eb5f90d4dc9c91b912daf945da4ff5 17-Mar-2009 Daniel Dunbar <daniel@zuster.org> Add ArgList::MakeArgString and make ArgList::Make* const.
- Slightly strange, but the idea is that the ArgList data structure
is primarily a list of arguments; we want to allow clients to still
add argument strings to an ArgList to avoid worrying about string
lifetimes (or unnecessary string copying).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67086 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
8022fd46d45005de63306a7513aece20a1be16ed 15-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Update ArgList::{hasArg,getLastArg} to optionally claim the
arguments if they exist.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67014 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
c0dfd53634494872d9560bfa30c0cad6759e4cea 13-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Fix think in ArgList::MakeIndex.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66908 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
bca58cb5100a4fdff63165af6a1742f5160ec73b 12-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Add ArgList support for synthesizing arguments.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
0c562a23a6560b5736077226ab31d6a9a216ccd3 12-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Add ArgList::getLastArg.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66794 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
e7fffa14dc50091200b778a747acad15a254626c 12-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Fix thinko in Arg::hasArg.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66785 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
d8cadd4f250d1b69373fc80477f67375d2c54820 12-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Add ArgList::hasArg, for testing for the presence of an
argument matching some Option::ID.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66758 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
9358dc8d1edae6f9279647084e768c6da5715f73 04-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Add ArgList::{append, getArgString}


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66089 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp
6ac1e2252b1a16fd8841c4b1af8fe41b820aa41d 04-Mar-2009 Daniel Dunbar <daniel@zuster.org> Driver: Add ArgList implementation.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66037 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Driver/ArgList.cpp