#
ef43d448 |
| 15-Mar-2016 |
Chris Bieneman <beanz@apple.com> |
[CMake] Add PACKAGE_VENDOR for customizing version output
Summary: This change adds a PACKAGE_VENDOR variable. When set it makes the version output more closely resemble the clang version output.
R
[CMake] Add PACKAGE_VENDOR for customizing version output
Summary: This change adds a PACKAGE_VENDOR variable. When set it makes the version output more closely resemble the clang version output.
Reviewers: aprantl, bogner
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D18159
llvm-svn: 263566
show more ...
|
#
7423f406 |
| 11-Mar-2016 |
Marianne Mailhot-Sarrasin <marianne.mailhot.sarrasin@gmail.com> |
More UTF string conversion wrappers
Added new string conversion wrappers that convert between `std::string` (of UTF-8 bytes) and `std::wstring`, which is particularly useful for Win32 interop. Also
More UTF string conversion wrappers
Added new string conversion wrappers that convert between `std::string` (of UTF-8 bytes) and `std::wstring`, which is particularly useful for Win32 interop. Also fixed a missing string conversion for `getenv` on Win32, using these new wrappers. The motivation behind this is to provide the support functions required for LLDB to work properly on Windows with non-ASCII data; however, the functions are not LLDB specific.
Patch by cameron314
Differential Revision: http://reviews.llvm.org/D17549
llvm-svn: 263247
show more ...
|
Revision tags: llvmorg-3.8.0, llvmorg-3.8.0-rc3, llvmorg-3.8.0-rc2 |
|
#
b30f2f51 |
| 30-Jan-2016 |
Matthias Braun <matze@braunis.de> |
Avoid overly large SmallPtrSet/SmallSet
These sets perform linear searching in small mode so it is never a good idea to use SmallSize/N bigger than 32.
llvm-svn: 259283
|
Revision tags: llvmorg-3.8.0-rc1 |
|
#
66da20a6 |
| 28-Dec-2015 |
Alexander Kornienko <alexfh@google.com> |
Refactor: Simplify boolean conditional return statements in llvm/lib/Support
Summary: Use clang-tidy to simplify boolean conditional return statements
Reviewers: rafael, bkramer, ddunbar, Bigcheese
Refactor: Simplify boolean conditional return statements in llvm/lib/Support
Summary: Use clang-tidy to simplify boolean conditional return statements
Reviewers: rafael, bkramer, ddunbar, Bigcheese, chandlerc, chapuni, nicholas, alexfh
Subscribers: alexfh, craig.topper, llvm-commits
Patch by Richard Thomson!
Differential Revision: http://reviews.llvm.org/D9978
llvm-svn: 256500
show more ...
|
Revision tags: llvmorg-3.7.1, llvmorg-3.7.1-rc2 |
|
#
ff43d69d |
| 17-Nov-2015 |
David Blaikie <dblaikie@gmail.com> |
StringRef-ify some Option APIs
Patch by Eugene Kosov!
Differential Revision: http://reviews.llvm.org/D14711
llvm-svn: 253360
|
Revision tags: llvmorg-3.7.1-rc1, llvmorg-3.7.0, llvmorg-3.7.0-rc4, llvmorg-3.7.0-rc3, studio-1.4 |
|
#
b82455d2 |
| 13-Aug-2015 |
Rafael Espindola <rafael.espindola@gmail.com> |
There is only one saver of strings.
llvm-svn: 244854
|
Revision tags: llvmorg-3.7.0-rc2, llvmorg-3.7.0-rc1 |
|
#
a667d1ad |
| 13-Jul-2015 |
Benjamin Kramer <benny.kra@googlemail.com> |
Remove macro guards for extern template instantiations.
This is a C++11 feature that both GCC and MSVC have supported as ane extension long before C++11 was approved.
llvm-svn: 242042
|
Revision tags: llvmorg-3.6.2, llvmorg-3.6.2-rc1 |
|
#
f00654e3 |
| 23-Jun-2015 |
Alexander Kornienko <alexfh@google.com> |
Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)
Apparently, the style needs to be agreed upon first.
llvm-svn: 240390
|
#
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 ...
|
#
454adf64 |
| 13-Jun-2015 |
Rafael Espindola <rafael.espindola@gmail.com> |
Bring in a BumpPtrStringSaver from lld and simplify the interface.
StringSaver now always saves to a BumpPtrAllocator.
The only reason for having the virtual saveImpl is so lld can have a thread sa
Bring in a BumpPtrStringSaver from lld and simplify the interface.
StringSaver now always saves to a BumpPtrAllocator.
The only reason for having the virtual saveImpl is so lld can have a thread safe version.
The reason for the distinct BumpPtrStringSaver class is to avoid the virtual destructor.
llvm-svn: 239669
show more ...
|
Revision tags: llvmorg-3.6.1, llvmorg-3.6.1-rc1 |
|
#
f817c1cb |
| 11-Apr-2015 |
Alexander Kornienko <alexfh@google.com> |
Use 'override/final' instead of 'virtual' for overridden methods
The patch is generated using clang-tidy misc-use-override check.
This command was used:
tools/clang/tools/extra/clang-tidy/tool/r
Use 'override/final' instead of 'virtual' for overridden methods
The patch is generated using clang-tidy misc-use-override check.
This command was used:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ -checks='-*,misc-use-override' -header-filter='llvm|clang' \ -j=32 -fix -format
http://reviews.llvm.org/D8925
llvm-svn: 234679
show more ...
|
#
075759aa |
| 30-Mar-2015 |
Yaron Keren <yaron.keren@gmail.com> |
Remove more superfluous .str() and replace std::string concatenation with Twine.
Following r233392, http://llvm.org/viewvc/llvm-project?rev=233392&view=rev.
llvm-svn: 233555
|
#
16132e6f |
| 23-Mar-2015 |
Benjamin Kramer <benny.kra@googlemail.com> |
Purge unused includes throughout libSupport.
NFC.
llvm-svn: 232976
|
Revision tags: llvmorg-3.5.2, llvmorg-3.5.2-rc1 |
|
#
bd5ee505 |
| 14-Mar-2015 |
Benjamin Kramer <benny.kra@googlemail.com> |
CommandLine: Replace cold std::sort with array_pod_sort.
Also replace an old use of qsort with it. Compiles down to the same thing but gives us some type safety. Safes a couple of kb on CommandLine.
CommandLine: Replace cold std::sort with array_pod_sort.
Also replace an old use of qsort with it. Compiles down to the same thing but gives us some type safety. Safes a couple of kb on CommandLine.o.
NFC.
llvm-svn: 232236
show more ...
|
#
dc3f01e9 |
| 09-Mar-2015 |
David Blaikie <dblaikie@gmail.com> |
Simplify expressions involving boolean constants with clang-tidy
Patch by Richard (legalize at xmission dot com).
Differential Revision: http://reviews.llvm.org/D8154
llvm-svn: 231617
|
Revision tags: llvmorg-3.6.0, llvmorg-3.6.0-rc4 |
|
#
6cd780ff |
| 17-Feb-2015 |
Benjamin Kramer <benny.kra@googlemail.com> |
Prefer SmallVector::append/insert over push_back loops.
Same functionality, but hoists the vector growth out of the loop.
llvm-svn: 229500
|
#
f942c0c8 |
| 13-Feb-2015 |
Chris Bieneman <beanz@apple.com> |
Fixing broken bots.
llvm-svn: 229176
|
#
67e426a0 |
| 13-Feb-2015 |
Chris Bieneman <beanz@apple.com> |
NFC. Moving the RegisteredOptionCategories global into the CommandLineParser class.
llvm-svn: 229172
|
#
ceaf5f66 |
| 13-Feb-2015 |
Chris Bieneman <beanz@apple.com> |
NFC. clang-format wants to change this from two lines to one.
llvm-svn: 229171
|
#
542f56a5 |
| 13-Feb-2015 |
Chris Bieneman <beanz@apple.com> |
NFC. More code cleanup making LookupOption a member of the CommandLineParser.
llvm-svn: 229170
|
Revision tags: llvmorg-3.6.0-rc3 |
|
#
970eac40 |
| 06-Feb-2015 |
Benjamin Kramer <benny.kra@googlemail.com> |
Make helper functions/classes/globals static. NFC.
llvm-svn: 228410
|
Revision tags: llvmorg-3.6.0-rc2 |
|
#
d77bbab3 |
| 30-Jan-2015 |
Chris Bieneman <beanz@apple.com> |
NFC. Making printOptionValues an API on the parser class.
llvm-svn: 227626
|
#
8182818a |
| 29-Jan-2015 |
NAKAMURA Takumi <geek4civic@gmail.com> |
CommandLineParser: Avoid non-static member nitializer(s).
llvm-svn: 227428
|
#
b6866425 |
| 28-Jan-2015 |
Chris Bieneman <beanz@apple.com> |
Build fix for Visual Studio. NFC.
llvm-svn: 227385
|
#
d1d9430a |
| 28-Jan-2015 |
Chris Bieneman <beanz@apple.com> |
Refactoring llvm command line parsing and option registration.
Summary: The primary goal of this patch is to remove the need for MarkOptionsChanged(). That goal is accomplished by having addOption a
Refactoring llvm command line parsing and option registration.
Summary: The primary goal of this patch is to remove the need for MarkOptionsChanged(). That goal is accomplished by having addOption and removeOption properly sort the options.
This patch puts the new add and remove functionality on a CommandLineParser class that is a placeholder. Some of the functionality in this class will need to be merged into the OptionRegistry, and other bits can hopefully be in a better abstraction.
This patch also removes the RegisteredOptionList global, and the need for cl::Option objects to be linked list nodes.
The changes in CommandLineTest.cpp are required because these changes shift when we validate that options are not duplicated. Before this change duplicate options were only found during certain cl API calls (like cl::ParseCommandLine). With this change duplicate options are found during option construction.
Reviewers: dexonsmith, chandlerc, pete
Reviewed By: pete
Subscribers: pete, majnemer, llvm-commits
Differential Revision: http://reviews.llvm.org/D7132
llvm-svn: 227345
show more ...
|