Eugene Zelenko
7c062ccc18
Fix some Clang-tidy modernize warnings, other minor fixes.
...
Fixed warnings are: modernize-use-override, modernize-use-nullptr and modernize-redundant-void-arg.
Differential revision: http://reviews.llvm.org/D14312
llvm-svn: 252087
2015-11-04 22:32:32 +00:00
Alexander Kornienko
f993659b8f
Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)
...
Apparently, the style needs to be agreed upon first.
llvm-svn: 240390
2015-06-23 09:49:53 +00:00
Alexander Kornienko
40cb19d802
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
2015-06-19 15:57:42 +00:00
Chris Bieneman
0f6163d2ae
Cleaning up static initializers in TimeValue.
...
Code reviewed by Chandlerc
llvm-svn: 216703
2014-08-29 01:05:12 +00:00
Alp Toker
000fb20af5
Fix 'platform-specific' hyphenations
...
llvm-svn: 212056
2014-06-30 18:57:16 +00:00
Alexey Samsonov
6302cc4a29
Fix initialization-order bug in llvm::Support::TimeValue. TimeValue::now() is explicitly called during module initialization of lib/Support/Process.cpp. It reads the field of global object PosixZeroTime, which is not guaranteed to be initialized at this point. Found by AddressSanitizer with -fsanitize=init-order option.
...
llvm-svn: 175509
2013-02-19 11:35:39 +00:00
Michael J. Spencer
d5ec932c3a
Merge System into Support.
...
llvm-svn: 120298
2010-11-29 18:16:10 +00:00