#
70bc5f13 |
| 19-Jun-2015 |
Alexander Kornienko <alexfh@google.com> |
Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-c
Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ llvm/lib/
Thanks to Eugene Kosov for the original patch!
llvm-svn: 240137
show more ...
|
Revision tags: llvmorg-3.6.1, llvmorg-3.6.1-rc1, llvmorg-3.5.2, llvmorg-3.5.2-rc1 |
|
#
9f380a3c |
| 16-Mar-2015 |
David Blaikie <dblaikie@gmail.com> |
Fix uses of reserved identifiers starting with an underscore followed by an uppercase letter
This covers essentially all of llvm's headers and libs. One or two weird cases I wasn't sure were worth/a
Fix uses of reserved identifiers starting with an underscore followed by an uppercase letter
This covers essentially all of llvm's headers and libs. One or two weird cases I wasn't sure were worth/appropriate to fix.
llvm-svn: 232394
show more ...
|
Revision tags: llvmorg-3.6.0, llvmorg-3.6.0-rc4, llvmorg-3.6.0-rc3, llvmorg-3.6.0-rc2, llvmorg-3.6.0-rc1, llvmorg-3.5.1, llvmorg-3.5.1-rc2, llvmorg-3.5.1-rc1, llvmorg-3.5.0, llvmorg-3.5.0-rc4 |
|
#
e3f146d9 |
| 22-Aug-2014 |
Reid Kleckner <reid@kleckner.net> |
Fix PR17239 by changing the semantics of the RemainingArgsClass Option kind
This patch contains the LLVM side of the fix of PR17239.
This bug that happens because the /link (clang-cl.exe argument)
Fix PR17239 by changing the semantics of the RemainingArgsClass Option kind
This patch contains the LLVM side of the fix of PR17239.
This bug that happens because the /link (clang-cl.exe argument) is marked as "consume all remaining arguments". However, when inside a response file, /link should only consume all remaining arguments inside the response file where it is located, not the entire command line after expansion.
My patch will change the semantics of the RemainingArgsClass kind to always consume only until the end of the response file when the option originally came from a response file. There are only two options in this class: dash dash (--) and /link.
Reviewed By: rnk
Differential Revision: http://reviews.llvm.org/D4899
Patch by Rafael Auler!
llvm-svn: 216280
show more ...
|
Revision tags: llvmorg-3.5.0-rc3 |
|
#
bcd6e2a9 |
| 15-Aug-2014 |
Nick Kledzik <kledzik@apple.com> |
[Option] Support MultiArg in --help
Currently, if you use a MultiArg<> option, then printing out the help/usage message will cause an assert. This fixes getOptionHelpName() to work with MultiArg Op
[Option] Support MultiArg in --help
Currently, if you use a MultiArg<> option, then printing out the help/usage message will cause an assert. This fixes getOptionHelpName() to work with MultiArg Options.
llvm-svn: 215770
show more ...
|
Revision tags: llvmorg-3.5.0-rc2, llvmorg-3.5.0-rc1, llvmorg-3.4.2, llvmorg-3.4.2-rc1, llvmorg-3.4.1, llvmorg-3.4.1-rc2 |
|
#
2617dcce |
| 15-Apr-2014 |
Craig Topper <craig.topper@gmail.com> |
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr.
llvm-svn: 206252
|
Revision tags: llvmorg-3.4.1-rc1, llvmorg-3.4.0, llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1 |
|
#
cfcfee0b |
| 04-Nov-2013 |
Jakub Staszak <kubastaszak@gmail.com> |
Use startswith_lower() where possible.
llvm-svn: 194007
|
#
3e7dca67 |
| 10-Sep-2013 |
Eli Friedman <eli.friedman@gmail.com> |
Fix another mistake in r190442.
Sorry about that; I'll try to be more careful about DEBUG mode.
llvm-svn: 190449
|
#
1891f693 |
| 10-Sep-2013 |
Eli Friedman <eli.friedman@gmail.com> |
Remove unused functions.
llvm-svn: 190442
|
#
8fb5a911 |
| 28-Aug-2013 |
Rui Ueyama <ruiu@google.com> |
Option parsing: support case-insensitive option matching.
Re-submitting r189416 with fix for Windows build on where strcasecmp is not defined.
llvm-svn: 189501
|
#
c3779ff8 |
| 28-Aug-2013 |
Rui Ueyama <ruiu@google.com> |
Revert "Option parsing: support case-insensitive option matching." as it broke Windows buildbot.
This reverts r189416.
llvm-svn: 189424
|
#
7159bd9d |
| 27-Aug-2013 |
Rui Ueyama <ruiu@google.com> |
Option parsing: support case-insensitive option matching.
Link.exe's command line options are case-insensitive. This patch adds a new attribute to OptTable to let the option parser to compare option
Option parsing: support case-insensitive option matching.
Link.exe's command line options are case-insensitive. This patch adds a new attribute to OptTable to let the option parser to compare options, ignoring case.
Command lines are generally case-insensitive on Windows. CL.exe is an exception. So this new attribute should be useful for other commands running on Windows.
Differential Revision: http://llvm-reviews.chandlerc.com/D1485
llvm-svn: 189416
show more ...
|
#
76ff1d91 |
| 13-Aug-2013 |
Hans Wennborg <hans@hanshq.net> |
Options: explicit handling of --
Clients of the option parsing library should handle it explicitly using a KIND_REMAINING_ARGS option.
Clang and lld have been updated in r188316 and r188318, respec
Options: explicit handling of --
Clients of the option parsing library should handle it explicitly using a KIND_REMAINING_ARGS option.
Clang and lld have been updated in r188316 and r188318, respectively.
Also fix -Wsign-compare warning in the option parsing test.
llvm-svn: 188323
show more ...
|
#
d505fbf4 |
| 13-Aug-2013 |
Hans Wennborg <hans@hanshq.net> |
Options: Add new option kind that consumes remaining arguments
This adds KIND_REMAINING_ARGS, a class of options that consume all remaining arguments on the command line.
This will be used to suppo
Options: Add new option kind that consumes remaining arguments
This adds KIND_REMAINING_ARGS, a class of options that consume all remaining arguments on the command line.
This will be used to support /link in clang-cl, which is used to forward all remaining arguments to the linker.
It also allows us to remove the hard-coded handling of "--", allowing clients (clang and lld) to implement that functionality themselves with this new option class.
Differential Revision: http://llvm-reviews.chandlerc.com/D1387
llvm-svn: 188314
show more ...
|
#
b8f3420d |
| 02-Aug-2013 |
Hans Wennborg <hans@hanshq.net> |
Option parsing: recognize the special -- token
Everything that comes after -- should be treated as a filename. This enables passing in filenames that would otherwise be conflated with command-line o
Option parsing: recognize the special -- token
Everything that comes after -- should be treated as a filename. This enables passing in filenames that would otherwise be conflated with command-line options.
This is especially important for clang-cl which supports options starting with /, which are easily conflatable with Unix-style path names.
Differential Revision: http://llvm-reviews.chandlerc.com/D1274
llvm-svn: 187675
show more ...
|
#
eadb765f |
| 19-Jul-2013 |
Reid Kleckner <reid@kleckner.net> |
[Option] Add inclusion and exclusion flags to option parsing
Summary: This allows the clang driver to put MSVC compatible options in the same enumerator space as its normal options but exclude them
[Option] Add inclusion and exclusion flags to option parsing
Summary: This allows the clang driver to put MSVC compatible options in the same enumerator space as its normal options but exclude them from normal option parsing.
Also changes the standard ParseArgs() method to consider unknown arguments with a leading slash as being inputs rather than flags.
High level discussion for clang-cl is here: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-June/030404.html
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1049
llvm-svn: 186703
show more ...
|
Revision tags: llvmorg-3.3.1-rc1 |
|
#
12e0332b |
| 13-Jun-2013 |
Reid Kleckner <reid@kleckner.net> |
Merge changes to clang's Driver code into LLVM's Option library
This is in preparation for switching the clang driver over to using LLVM's Option library. Richard Smith introduced most of these cha
Merge changes to clang's Driver code into LLVM's Option library
This is in preparation for switching the clang driver over to using LLVM's Option library. Richard Smith introduced most of these changes to the clang driver in r167638.
Reviewers: espindola on IRC
Differential Revision: http://llvm-reviews.chandlerc.com/D970
llvm-svn: 183925
show more ...
|
Revision tags: llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1 |
|
#
be81023d |
| 02-Jan-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Resort the #include lines in include/... and lib/... with the utils/sort_includes.py script.
Most of these are updating the new R600 target and fixing up a few regressions that have creeped in since
Resort the #include lines in include/... and lib/... with the utils/sort_includes.py script.
Most of these are updating the new R600 target and fixing up a few regressions that have creeped in since the last time I sorted the includes.
llvm-svn: 171362
show more ...
|
Revision tags: llvmorg-3.2.0, llvmorg-3.2.0-rc3 |
|
#
41ee041d |
| 05-Dec-2012 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Copy clang/Driver/<Option parsing stuff> to llvm.
llvm-svn: 169344
|