StephanTLavavej wrote:
The MSVC FE team hasn't expressed enthusiasm for adding ugly spellings. If I
learn more I'll rely that info.
https://github.com/llvm/llvm-project/pull/113765
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.
StephanTLavavej wrote:
Yeah, it would be great if C1XX (MSVC's frontend) supported `__meow__` as a
synonym for `meow`.
I've occasionally gone into the FE and just implemented features; this one
might be within my reach.
https://github.com/llvm/llvm-project/pull/113765
StephanTLavavej wrote:
We can use `-Xclang -std=c++23` as a workaround, so we don't need a backport.
https://github.com/llvm/llvm-project/pull/112378
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
@@ -215,8 +215,7 @@ static void addVisualCDefines(const LangOptions &Opts,
MacroBuilder &Builder) {
if (Opts.isCompatibleWithMSVC(LangOptions::MSVC2015)) {
if (Opts.CPlusPlus23)
-// TODO update to the proper value.
-Builder.defineMacro("_MSVC_LANG",
@@ -87,6 +87,21 @@ def getStdFlag(cfg, std):
return "-std=" + fallbacks[std]
return None
+def getSpeedOptimizationFlag(cfg):
+if _isClang(cfg) or _isAppleClang(cfg) or _isGCC(cfg):
+return "-O3"
+elif _isMSVC(cfg):
+return "/O2"
+else:
+
Author: Stephan T. Lavavej
Date: 2021-12-14T14:19:42-08:00
New Revision: 8bd106a891726f6542c9364ff4041764a62aa2b7
URL:
https://github.com/llvm/llvm-project/commit/8bd106a891726f6542c9364ff4041764a62aa2b7
DIFF:
https://github.com/llvm/llvm-project/commit/8bd106a891726f6542c9364ff4041764a62aa2b7.
Author: Stephan T. Lavavej
Date: 2019-11-08T14:41:27-08:00
New Revision: 3a7a22445e806c08f80cf6d83d1760f7ff732ed0
URL:
https://github.com/llvm/llvm-project/commit/3a7a22445e806c08f80cf6d83d1760f7ff732ed0
DIFF:
https://github.com/llvm/llvm-project/commit/3a7a22445e806c08f80cf6d83d1760f7ff732ed0.
Author: stl_msft
Date: Wed Jun 13 17:12:14 2018
New Revision: 334675
URL: http://llvm.org/viewvc/llvm-project?rev=334675&view=rev
Log:
[libcxx] [test] Update msvc_stdlib_force_include.hpp.
MSVC's STL removed _SCL_SECURE_NO_WARNINGS.
MSVC's STL implemented feature-test macros.
Modified:
libc
Author: stl_msft
Date: Wed Jun 13 17:12:20 2018
New Revision: 334676
URL: http://llvm.org/viewvc/llvm-project?rev=334676&view=rev
Log:
[libcxx] [test] Strip trailing whitespace. NFC.
Modified:
libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.fail.cpp
Author: stl_msft
Date: Fri May 11 16:57:32 2018
New Revision: 332159
URL: http://llvm.org/viewvc/llvm-project?rev=332159&view=rev
Log:
[libcxx] [test] Update msvc_stdlib_force_include.hpp.
Modified:
libcxx/trunk/test/support/msvc_stdlib_force_include.hpp
Modified: libcxx/trunk/test/support/m
Author: stl_msft
Date: Fri May 4 18:40:24 2018
New Revision: 331575
URL: http://llvm.org/viewvc/llvm-project?rev=331575&view=rev
Log:
[libcxx] [test] Fix MSVC x64 truncation warning.
warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of
data
Requesting post-commit revi
Author: stl_msft
Date: Fri May 4 18:40:27 2018
New Revision: 331576
URL: http://llvm.org/viewvc/llvm-project?rev=331576&view=rev
Log:
[libcxx] [test] Fix whitespace, NFC.
Strip trailing whitespace and untabify.
Modified:
libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/
Author: stl_msft
Date: Thu Apr 12 17:07:48 2018
New Revision: 329979
URL: http://llvm.org/viewvc/llvm-project?rev=329979&view=rev
Log:
[libcxx] [test] Use TEST_IGNORE_NODISCARD.
Fixes D45595.
Modified:
libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.str
Author: stl_msft
Date: Thu Apr 12 16:56:12 2018
New Revision: 329975
URL: http://llvm.org/viewvc/llvm-project?rev=329975&view=rev
Log:
[libcxx] [test] Fix nodiscard warnings.
MSVC's STL has marked to_bytes/from_bytes as nodiscard.
Fixes D45595.
Modified:
libcxx/trunk/test/std/localization/
Author: stl_msft
Date: Thu Apr 12 16:56:14 2018
New Revision: 329976
URL: http://llvm.org/viewvc/llvm-project?rev=329976&view=rev
Log:
[libcxx] [test] Silence MSVC warning C4146.
This test code triggers the MSVC warning:
"unary minus operator applied to unsigned type, result still unsigned"
Alt
Author: stl_msft
Date: Thu Apr 12 16:56:22 2018
New Revision: 329978
URL: http://llvm.org/viewvc/llvm-project?rev=329978&view=rev
Log:
[libcxx] [test] Fix whitespace, NFC.
test/std almost always uses spaces; now it is entirely tab-free.
Modified:
libcxx/trunk/test/std/algorithms/alg.modifyi
Author: stl_msft
Date: Thu Apr 12 16:56:07 2018
New Revision: 329973
URL: http://llvm.org/viewvc/llvm-project?rev=329973&view=rev
Log:
[libcxx] [test] Avoid MSVC truncation warnings.
MSVC emits "warning C4244: 'initializing': conversion from 'int'
to 'short', possible loss of data" when it sees p
Author: stl_msft
Date: Thu Apr 12 16:56:17 2018
New Revision: 329977
URL: http://llvm.org/viewvc/llvm-project?rev=329977&view=rev
Log:
[libcxx] [test] Use TEST_COMPILER_C1XX.
Also TEST_COMPILER_CLANG in one place. (More could be changed.)
Modified:
libcxx/trunk/test/std/algorithms/alg.modif
Author: stl_msft
Date: Thu Apr 12 16:56:10 2018
New Revision: 329974
URL: http://llvm.org/viewvc/llvm-project?rev=329974&view=rev
Log:
[libcxx] [test] Avoid unary_function.
Replace unary_function inheritance (which was never required,
even in C++98) with argument_type and result_type typedefs.
Th
Author: stl_msft
Date: Thu Mar 22 15:59:02 2018
New Revision: 328264
URL: http://llvm.org/viewvc/llvm-project?rev=328264&view=rev
Log:
[libcxx] [test] Strip trailing whitespace. NFC.
Modified:
libcxx/trunk/test/libcxx/strings/basic.string/string.modifiers/clear_and_shrink_db1.pass.cpp
li
Author: stl_msft
Date: Mon Feb 26 12:47:46 2018
New Revision: 326120
URL: http://llvm.org/viewvc/llvm-project?rev=326120&view=rev
Log:
[libcxx] [test] Fix MSVC warnings and errors.
test/std/numerics/numeric.ops/exclusive.scan/exclusive_scan.pass.cpp
test/std/numerics/numeric.ops/exclusive.scan/ex
Author: stl_msft
Date: Mon Feb 12 14:54:35 2018
New Revision: 324959
URL: http://llvm.org/viewvc/llvm-project?rev=324959&view=rev
Log:
[libcxx] [test] Strip trailing whitespace, NFC.
Modified:
libcxx/trunk/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp
libcxx/trunk/
Author: stl_msft
Date: Tue Jan 9 16:39:46 2018
New Revision: 322144
URL: http://llvm.org/viewvc/llvm-project?rev=322144&view=rev
Log:
[libcxx] [test] Improve MSVC portability.
test/support/msvc_stdlib_force_include.hpp
When testing MSVC's STL with C1XX, simulate a couple more compiler feature-te
Author: stl_msft
Date: Tue Dec 12 16:51:27 2017
New Revision: 320535
URL: http://llvm.org/viewvc/llvm-project?rev=320535&view=rev
Log:
[libcxx] [test] Fix MSVC warnings, null pointer deref.
test/std/algorithms/alg.modifying.operations/alg.generate/generate_n.pass.cpp
Silence MSVC warning C4244. T
Author: stl_msft
Date: Tue Dec 12 16:51:31 2017
New Revision: 320536
URL: http://llvm.org/viewvc/llvm-project?rev=320536&view=rev
Log:
[libcxx] [test] Fix line endings, avoid unnecessary non-ASCII.
benchmarks/util_smartptr.bench.cpp
Change CRLF to LF.
test/std/localization/locale.categories/cate
Author: stl_msft
Date: Wed Dec 6 16:50:23 2017
New Revision: 319994
URL: http://llvm.org/viewvc/llvm-project?rev=319994&view=rev
Log:
[libcxx] [test] Strip trailing whitespace. NFC.
Modified:
libcxx/trunk/test/std/experimental/filesystem/class.path/path.member/path.decompose/path.decompose.
Author: stl_msft
Date: Tue Sep 26 16:08:43 2017
New Revision: 314259
URL: http://llvm.org/viewvc/llvm-project?rev=314259&view=rev
Log:
[libcxx] [test] Fix unused local typedef warnings.
Modified:
libcxx/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/string_view_size.p
Author: stl_msft
Date: Tue Sep 26 16:08:41 2017
New Revision: 314258
URL: http://llvm.org/viewvc/llvm-project?rev=314258&view=rev
Log:
[libcxx] [test] Strip trailing whitespace.
Modified:
libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/string_view.pass.cpp
Modified
Author: stl_msft
Date: Tue Sep 26 16:08:39 2017
New Revision: 314257
URL: http://llvm.org/viewvc/llvm-project?rev=314257&view=rev
Log:
[libcxx] [test] Silence warning C4324 for MSVC.
This warning "structure was padded due to alignment specifier" says
that the compiler is going to do exactly what
[STL]
> I can't check in copies of `cl.exe` and `link.exe` (the former's version is
> inspected, so it can't just be a dummy file).
> I'm happy without upstream tests for this logic. In the long run, I hope that
> we can eliminate this internal directory structure and make it identical to
> the
Author: stl_msft
Date: Thu Aug 31 10:59:51 2017
New Revision: 312263
URL: http://llvm.org/viewvc/llvm-project?rev=312263&view=rev
Log:
[libcxx] [www] Change an absolute link to cxx1z_status.html to be relative.
Fixes D37318.
Modified:
libcxx/trunk/www/upcoming_meeting.html
Modified: libcxx/
Author: stl_msft
Date: Thu Aug 31 10:59:48 2017
New Revision: 312262
URL: http://llvm.org/viewvc/llvm-project?rev=312262&view=rev
Log:
[libcxx] [www] Strip trailing whitespace.
Fixes D37318.
Modified:
libcxx/trunk/www/atomic_design_c.html
libcxx/trunk/www/cxx1y_status.html
libcxx/tru
Author: stl_msft
Date: Thu Aug 31 10:59:46 2017
New Revision: 312261
URL: http://llvm.org/viewvc/llvm-project?rev=312261&view=rev
Log:
[libcxx] [www] Fix broken link for LLVM Bugzilla.
Fixes D37318.
Modified:
libcxx/trunk/www/index.html
Modified: libcxx/trunk/www/index.html
URL:
http://llv
Author: stl_msft
Date: Thu Aug 31 10:59:39 2017
New Revision: 312259
URL: http://llvm.org/viewvc/llvm-project?rev=312259&view=rev
Log:
[libcxx] [www] Semi-manually change http://www.open-std.org and
http://isocpp.org papers to https://wg21.link .
Fixes D37318.
Modified:
libcxx/trunk/www/ato
Author: stl_msft
Date: Thu Aug 31 10:59:42 2017
New Revision: 312260
URL: http://llvm.org/viewvc/llvm-project?rev=312260&view=rev
Log:
[libcxx] [www] Manually change http links to https.
Fixes D37318.
Modified:
libcxx/trunk/www/atomic_design.html
libcxx/trunk/www/atomic_design_a.html
Author: stl_msft
Date: Thu Aug 31 10:59:36 2017
New Revision: 312258
URL: http://llvm.org/viewvc/llvm-project?rev=312258&view=rev
Log:
[libcxx] [www] Change http://cplusplus.github.io/LWG/lwg-defects.html# to
https://wg21.link/lwg .
Fixes D37318.
Modified:
libcxx/trunk/www/cxx1y_status.html
Author: stl_msft
Date: Thu Aug 24 14:24:08 2017
New Revision: 311705
URL: http://llvm.org/viewvc/llvm-project?rev=311705&view=rev
Log:
[libcxx] [test] Update for C++17 feature removals.
test/std/containers/Emplaceable.h
test/std/containers/NotConstructible.h
test/support/counting_predicates.hpp
R
Author: stl_msft
Date: Mon Aug 21 15:19:33 2017
New Revision: 311391
URL: http://llvm.org/viewvc/llvm-project?rev=311391&view=rev
Log:
[Driver] Recognize DevDiv internal builds of MSVC, with a different directory
structure.
This is a reasonably non-intrusive change, which I've verified
works for
Author: stl_msft
Date: Fri Aug 11 13:54:06 2017
New Revision: 310760
URL: http://llvm.org/viewvc/llvm-project?rev=310760&view=rev
Log:
[libcxx] [test] Rename __x to x. NFCI.
This improves readability and (theoretically) improves portability,
as __ugly names are reserved.
Modified:
libcxx/tr
Author: stl_msft
Date: Fri Aug 11 13:54:09 2017
New Revision: 310761
URL: http://llvm.org/viewvc/llvm-project?rev=310761&view=rev
Log:
[libcxx] [test] Rename _Up to U, etc. NFCI.
This improves readability and (theoretically) improves portability,
as _Ugly names are reserved.
This performs additi
Author: stl_msft
Date: Fri Aug 11 13:53:53 2017
New Revision: 310758
URL: http://llvm.org/viewvc/llvm-project?rev=310758&view=rev
Log:
[libcxx] [test] Rename _Tp to T. NFCI.
This improves readability and (theoretically) improves portability,
as _Ugly names are reserved.
Modified:
libcxx/tru
Author: stl_msft
Date: Fri Aug 11 13:54:01 2017
New Revision: 310759
URL: http://llvm.org/viewvc/llvm-project?rev=310759&view=rev
Log:
[libcxx] [test] Rename __c to ch. NFCI.
This improves readability and (theoretically) improves portability,
as __ugly names are reserved.
Modified:
libcxx/t
Author: stl_msft
Date: Fri Aug 4 17:44:24 2017
New Revision: 310156
URL: http://llvm.org/viewvc/llvm-project?rev=310156&view=rev
Log:
[libcxx] [test] Fix URLs in comments and make them HTTPS. NFC.
Modified:
libcxx/trunk/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created
Author: stl_msft
Date: Fri Aug 4 17:44:27 2017
New Revision: 310157
URL: http://llvm.org/viewvc/llvm-project?rev=310157&view=rev
Log:
[libcxx] [test] Untabify stringstream.cons/string.pass.cpp. NFC.
Modified:
libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cp
Author: stl_msft
Date: Fri Aug 4 17:44:19 2017
New Revision: 310155
URL: http://llvm.org/viewvc/llvm-project?rev=310155&view=rev
Log:
[libcxx] [test] Consistently list "c++98, c++03" in chronological order. NFC.
Modified:
libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp
Author: stl_msft
Date: Fri Jul 28 17:55:35 2017
New Revision: 309468
URL: http://llvm.org/viewvc/llvm-project?rev=309468&view=rev
Log:
[libcxx] [test] Change comments to say C++ instead of c++. NFC.
This makes them consistent (many comments already used uppercase).
The special REQUIRES, UNSUPPOR
Author: stl_msft
Date: Fri Jul 28 17:55:22 2017
New Revision: 309465
URL: http://llvm.org/viewvc/llvm-project?rev=309465&view=rev
Log:
[libcxx] [test] Make files consistently end with newlines, NFC.
Modified:
libcxx/trunk/test/libcxx/algorithms/debug_less.pass.cpp
libcxx/trunk/test/libcx
Author: stl_msft
Date: Fri Jul 28 17:55:27 2017
New Revision: 309467
URL: http://llvm.org/viewvc/llvm-project?rev=309467&view=rev
Log:
[libcxx] [test] The entire file futures.shared_future/wait_until.pass.cpp was
indented by 1 space. NFC.
Modified:
libcxx/trunk/test/std/thread/futures/futur
Author: stl_msft
Date: Fri Jul 28 17:55:25 2017
New Revision: 309466
URL: http://llvm.org/viewvc/llvm-project?rev=309466&view=rev
Log:
[libcxx] [test] In func.wrap.func.con/alloc_F.pass.cpp, fix REQUIRES
whitespace. NFC.
Modified:
libcxx/trunk/test/std/utilities/function.objects/func.wrap/f
Author: stl_msft
Date: Fri Jul 28 17:54:49 2017
New Revision: 309463
URL: http://llvm.org/viewvc/llvm-project?rev=309463&view=rev
Log:
[libcxx] [test] Strip trailing whitespace, NFC.
Modified:
libcxx/trunk/test/std/numerics/numeric.ops/inclusive.scan/inclusive_scan.pass.cpp
libcxx/trunk
Author: stl_msft
Date: Thu Jul 27 14:16:37 2017
New Revision: 309322
URL: http://llvm.org/viewvc/llvm-project?rev=309322&view=rev
Log:
[libcxx] [test] Remove an unused local typedef in
enable_shared_from_this.pass.cpp.
Trivial change, committed without review.
Modified:
libcxx/trunk/test/s
Author: stl_msft
Date: Wed Jul 19 15:02:29 2017
New Revision: 308534
URL: http://llvm.org/viewvc/llvm-project?rev=308534&view=rev
Log:
[libcxx] [test] Fix Clang -Wunused-local-typedef warnings.
Fix D34536.
Modified:
libcxx/trunk/test/std/numerics/complex.number/complex.transcendentals/acos.
Author: stl_msft
Date: Wed Jul 19 15:02:33 2017
New Revision: 308535
URL: http://llvm.org/viewvc/llvm-project?rev=308535&view=rev
Log:
[libcxx] [test] Update msvc_stdlib_force_include.hpp.
MSVC's STL is replacing _HAS_FUNCTION_ASSIGN with
_HAS_FUNCTION_ALLOCATOR_SUPPORT,
and is adding _HAS_UNEXP
Author: stl_msft
Date: Wed Jul 19 15:02:25 2017
New Revision: 308533
URL: http://llvm.org/viewvc/llvm-project?rev=308533&view=rev
Log:
[libcxx] [test] Fix MSVC warning C4067 "unexpected tokens following
preprocessor directive - expected a newline".
Also fixes Clang/LLVM 4.0 (for Windows) error "
Author: stl_msft
Date: Wed Jul 19 15:02:22 2017
New Revision: 308532
URL: http://llvm.org/viewvc/llvm-project?rev=308532&view=rev
Log:
[libcxx] [test] Fix MSVC warning C4242 "conversion from 'int' to 'const char',
possible loss of data".
Fixes D34534.
Modified:
libcxx/trunk/test/std/input.
Author: stl_msft
Date: Tue Jun 20 16:10:53 2017
New Revision: 305854
URL: http://llvm.org/viewvc/llvm-project?rev=305854&view=rev
Log:
[libcxx] [test] Fix -Wmismatched-tags in
tuple_size_structured_bindings.pass.cpp.
Clang and C1XX both complain about mismatched class/struct, but libc++ and
MSV
Author: stl_msft
Date: Tue Jun 20 16:00:02 2017
New Revision: 305848
URL: http://llvm.org/viewvc/llvm-project?rev=305848&view=rev
Log:
[libcxx] [test] Strip trailing whitespace. NFC.
Modified:
libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.foreach/for_each_n.pass.cpp
libcxx/trunk
Author: stl_msft
Date: Tue Jun 20 15:34:50 2017
New Revision: 305843
URL: http://llvm.org/viewvc/llvm-project?rev=305843&view=rev
Log:
[libcxx] [test] Add more tests to tuple_size_structured_bindings.pass.cpp and
make it friendlier to C1XX.
Style/paranoia: 42.1 doesn't have an exact binary repre
Author: stl_msft
Date: Thu Jun 8 13:22:03 2017
New Revision: 305000
URL: http://llvm.org/viewvc/llvm-project?rev=305000&view=rev
Log:
[libcxx] [test] Update locale names for Windows.
locale.codecvt.byname/ctor_char.pass.cpp:
This test used to use "en_US" as a plain string instead of using
platf
Author: stl_msft
Date: Thu Jun 8 13:21:59 2017
New Revision: 304999
URL: http://llvm.org/viewvc/llvm-project?rev=304999&view=rev
Log:
[libcxx] [test] Remove a Clang/C2 workaround.
Clang/LLVM doesn't need this workaround.
Fixes D33955.
Modified:
libcxx/trunk/test/std/utilities/optional/opt
Author: stl_msft
Date: Mon Jun 5 21:46:12 2017
New Revision: 304765
URL: http://llvm.org/viewvc/llvm-project?rev=304765&view=rev
Log:
[libcxx] [test] Add _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to
msvc_stdlib_force_include.hpp.
This macro will instruct MSVC's STL to not warn about features that
Author: stl_msft
Date: Fri May 5 18:51:39 2017
New Revision: 302325
URL: http://llvm.org/viewvc/llvm-project?rev=302325&view=rev
Log:
[libcxx] [test] Suppress MSVC's /analyze warning C6294 in a more fine-grained
manner.
Fixes D32926.
Modified:
libcxx/trunk/test/std/utilities/template.bits
Author: stl_msft
Date: Fri May 5 18:38:24 2017
New Revision: 302322
URL: http://llvm.org/viewvc/llvm-project?rev=302322&view=rev
Log:
[libcxx] [test] Fix MSVC "warning C6326: Potential comparison of a constant
with another constant".
The expressions `1 == 1` and `true` have the same type, value
Author: stl_msft
Date: Fri May 5 18:01:38 2017
New Revision: 302318
URL: http://llvm.org/viewvc/llvm-project?rev=302318&view=rev
Log:
[libcxx] [test] Be compatible with LWG 2438 "std::iterator inheritance
shouldn't be mandated".
In C++17, these iterators are allowed but not required
to inherit
Author: stl_msft
Date: Wed May 3 20:43:58 2017
New Revision: 302105
URL: http://llvm.org/viewvc/llvm-project?rev=302105&view=rev
Log:
[libcxx] [test] Strip trailing whitespace. NFC.
Modified:
libcxx/trunk/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1
Author: stl_msft
Date: Wed May 3 20:35:11 2017
New Revision: 302104
URL: http://llvm.org/viewvc/llvm-project?rev=302104&view=rev
Log:
[libcxx] [test] In msvc_stdlib_force_include.hpp, use _HAS_CXX17 to set
TEST_STD_VER.
_HAS_CXX17 indicates whether MSVC's STL is in C++17 mode.
In MSVC there's
Author: stl_msft
Date: Wed Apr 12 12:16:38 2017
New Revision: 300079
URL: http://llvm.org/viewvc/llvm-project?rev=300079&view=rev
Log:
[libcxx] [test] Avoid Clang's -Wunused-const-variable in
is_constructible.pass.cpp.
This happens when using Clang with MSVC's STL, so there are no actual uses of
Author: stl_msft
Date: Sun Feb 5 16:48:27 2017
New Revision: 294161
URL: http://llvm.org/viewvc/llvm-project?rev=294161&view=rev
Log:
[libcxx] [test] Strip trailing whitespace.
No functional change, no code review.
Modified:
libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.
Author: stl_msft
Date: Sun Feb 5 16:48:13 2017
New Revision: 294159
URL: http://llvm.org/viewvc/llvm-project?rev=294159&view=rev
Log:
[libcxx] [test] Avoid MSVC's non-Standard ABI in underlying_type.pass.cpp.
When compiled with Clang for Windows, this was emitting "enumerator value
evaluates to
Author: stl_msft
Date: Sun Feb 5 16:48:20 2017
New Revision: 294160
URL: http://llvm.org/viewvc/llvm-project?rev=294160&view=rev
Log:
[libcxx] [test] Fix comment typos.
No functional change, no code review.
Modified:
libcxx/trunk/test/libcxx/utilities/function.objects/func.require/invoke_h
Author: stl_msft
Date: Sun Feb 5 16:48:07 2017
New Revision: 294158
URL: http://llvm.org/viewvc/llvm-project?rev=294158&view=rev
Log:
[libcxx] [test] Fix Clang -Wpessimizing-move "moving a temporary object
prevents copy elision".
N4618 30.6.6 [futures.unique_future]/12 declares "shared_future s
Author: stl_msft
Date: Sun Feb 5 16:48:02 2017
New Revision: 294157
URL: http://llvm.org/viewvc/llvm-project?rev=294157&view=rev
Log:
[libcxx] [test] Fix Clang -Wdeprecated-declarations with MSVC's CRT.
libcxx's tests use various C Standard Library functions that have been
marked by MSVC's CRT a
Author: stl_msft
Date: Sun Feb 5 16:47:54 2017
New Revision: 294156
URL: http://llvm.org/viewvc/llvm-project?rev=294156&view=rev
Log:
[libcxx] [test] Fix Clang -Wunused-local-typedef, part 3/3.
test/std/strings/string.classes/typedefs.pass.cpp
Actually test what basic_string's typedefs stand for
Author: stl_msft
Date: Sun Feb 5 16:47:09 2017
New Revision: 294154
URL: http://llvm.org/viewvc/llvm-project?rev=294154&view=rev
Log:
[libcxx] [test] Fix Clang -Wunused-local-typedef, part 1/3.
Guard typedefs and static_asserts with _LIBCPP_VERSION.
test/std/containers/sequences/vector.bool/mov
Author: stl_msft
Date: Sun Feb 5 16:47:41 2017
New Revision: 294155
URL: http://llvm.org/viewvc/llvm-project?rev=294155&view=rev
Log:
[libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3.
These typedefs were completely unused.
Fixes D29136.
Modified:
libcxx/trunk/test/std/containers/
Author: stl_msft
Date: Wed Jan 18 16:19:14 2017
New Revision: 292443
URL: http://llvm.org/viewvc/llvm-project?rev=292443&view=rev
Log:
[libcxx] [test] Add msvc_stdlib_force_include.hpp.
No functional change; nothing includes this, instead our test harness
injects it via the /FI compiler option.
Author: stl_msft
Date: Wed Jan 18 14:10:25 2017
New Revision: 292434
URL: http://llvm.org/viewvc/llvm-project?rev=292434&view=rev
Log:
[libcxx] [test] Fix comment typos, strip trailing whitespace.
No functional change, no code review.
Modified:
libcxx/trunk/test/std/containers/associative/ma
Author: stl_msft
Date: Wed Jan 18 14:09:56 2017
New Revision: 292432
URL: http://llvm.org/viewvc/llvm-project?rev=292432&view=rev
Log:
[libcxx] [test] Fix MSVC warnings C4127 and C6326 about constants.
MSVC has compiler warnings C4127 "conditional expression is constant" (enabled
by /W4) and C632
Author: stl_msft
Date: Tue Jan 17 16:24:45 2017
New Revision: 292281
URL: http://llvm.org/viewvc/llvm-project?rev=292281&view=rev
Log:
[libcxx] [test] Don't ask whether Incomplete& can be assigned to.
This is the subject of an active NB comment. Regardless of what the Working
Paper currently says
Author: stl_msft
Date: Fri Jan 6 19:12:15 2017
New Revision: 291322
URL: http://llvm.org/viewvc/llvm-project?rev=291322&view=rev
Log:
[libcxx] [test] Strip trailing whitespace. NFC, no code review.
Modified:
libcxx/trunk/test/std/containers/sequences/array/iterators.pass.cpp
libcxx/trunk
Author: stl_msft
Date: Tue Jan 3 18:53:41 2017
New Revision: 290922
URL: http://llvm.org/viewvc/llvm-project?rev=290922&view=rev
Log:
[libcxx] [test] Strip trailing whitespace.
Fixes D27786.
Modified:
libcxx/trunk/test/std/experimental/utilities/meta/meta.detect/detected_or.pass.cpp
l
Author: stl_msft
Date: Tue Jan 3 18:53:31 2017
New Revision: 290921
URL: http://llvm.org/viewvc/llvm-project?rev=290921&view=rev
Log:
[libcxx] [test] Fix recently introduced warnings emitted by MSVC.
These tests were using malloc()'s return value without checking for null,
which MSVC's /analyze
Author: stl_msft
Date: Wed Dec 14 16:46:46 2016
New Revision: 289734
URL: http://llvm.org/viewvc/llvm-project?rev=289734&view=rev
Log:
[libcxx] [test] Fix MSVC x64 truncation warnings with 32-bit allocator
size_type/difference_type.
test/std/containers/container.adaptors/queue/queue.cons.alloc/c
Author: stl_msft
Date: Mon Dec 12 19:54:58 2016
New Revision: 289512
URL: http://llvm.org/viewvc/llvm-project?rev=289512&view=rev
Log:
[libcxx] [test] Fix size_t-to-int truncation warnings in syserr.hash.
After r289363, these tests were triggering MSVC x64 warning C4267
"conversion from 'size_t'
Author: stl_msft
Date: Mon Dec 12 13:50:14 2016
New Revision: 289462
URL: http://llvm.org/viewvc/llvm-project?rev=289462&view=rev
Log:
[libcxx] [test] Fix an improper assumption about Null Forward Iterators.
Value-initialized iterators still can't be compared to those with parents.
Fixes D26626.
Author: stl_msft
Date: Mon Dec 12 13:50:22 2016
New Revision: 289463
URL: http://llvm.org/viewvc/llvm-project?rev=289463&view=rev
Log:
[libcxx] [test] Change ifstream constructor tests to handle read-only files.
Certain source control systems like to set the read-only bit on their files,
which in
Author: stl_msft
Date: Fri Dec 9 16:35:53 2016
New Revision: 289283
URL: http://llvm.org/viewvc/llvm-project?rev=289283&view=rev
Log:
[libcxx] [test] Fix string_view tests.
test/std/strings/string.view/string.view.ops/compare.pointer_size.pass.cpp
Passing -1 to size_t triggers signed/unsigned mi
Author: stl_msft
Date: Fri Dec 9 13:53:08 2016
New Revision: 289264
URL: http://llvm.org/viewvc/llvm-project?rev=289264&view=rev
Log:
[libcxx] [test] Add LIBCPP_ASSERT_NOEXCEPT/LIBCPP_ASSERT_NOT_NOEXCEPT, remove
an unused variable.
test/support/test_macros.h
For convenience/greppability, add ma
Author: stl_msft
Date: Thu Dec 8 15:38:32 2016
New Revision: 289109
URL: http://llvm.org/viewvc/llvm-project?rev=289109&view=rev
Log:
[libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible
loss of data", part 5/7.
Instead of storing double in double and then truncating to
Author: stl_msft
Date: Thu Dec 8 15:38:23 2016
New Revision: 289108
URL: http://llvm.org/viewvc/llvm-project?rev=289108&view=rev
Log:
[libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible
loss of data", part 4/7.
Change char to long and remove some char casts. This preser
Author: stl_msft
Date: Thu Dec 8 15:38:14 2016
New Revision: 289107
URL: http://llvm.org/viewvc/llvm-project?rev=289107&view=rev
Log:
[libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible
loss of data", part 3/7.
Add static_cast when constructing pair from (Something,
in
Author: stl_msft
Date: Thu Dec 8 15:38:57 2016
New Revision: 289111
URL: http://llvm.org/viewvc/llvm-project?rev=289111&view=rev
Log:
[libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible
loss of data", part 7/7.
test/std/input.output/iostream.format/input.streams/istream
Author: stl_msft
Date: Thu Dec 8 15:38:44 2016
New Revision: 289110
URL: http://llvm.org/viewvc/llvm-project?rev=289110&view=rev
Log:
[libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible
loss of data", part 6/7.
test/std/algorithms/alg.modifying.operations/alg.random.shu
Author: stl_msft
Date: Thu Dec 8 15:38:01 2016
New Revision: 289106
URL: http://llvm.org/viewvc/llvm-project?rev=289106&view=rev
Log:
[libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible
loss of data", part 2/7.
These tests for some guy's transparent operator functors we
Author: stl_msft
Date: Thu Dec 8 15:37:47 2016
New Revision: 289105
URL: http://llvm.org/viewvc/llvm-project?rev=289105&view=rev
Log:
[libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible
loss of data", part 1/7.
Given `std::basic_streambuf::int_type __c`, `std::basic_str
Author: stl_msft
Date: Mon Dec 5 19:14:43 2016
New Revision: 288752
URL: http://llvm.org/viewvc/llvm-project?rev=288752&view=rev
Log:
[libcxx] [test] D27268: Fix MSVC x64 warning C4267 "conversion from 'size_t' to
'int' [or 'unsigned int'], possible loss of data", part 2/4.
Use static_cast when
Author: stl_msft
Date: Mon Dec 5 19:14:51 2016
New Revision: 288753
URL: http://llvm.org/viewvc/llvm-project?rev=288753&view=rev
Log:
[libcxx] [test] D27269: Fix MSVC x64 warning C4267 "conversion from 'size_t' to
'int' [or 'unsigned int'], possible loss of data", part 3/4.
test/std/containers/
Author: stl_msft
Date: Mon Dec 5 19:14:29 2016
New Revision: 288751
URL: http://llvm.org/viewvc/llvm-project?rev=288751&view=rev
Log:
[libcxx] [test] D27267: Fix MSVC x64 warning C4267 "conversion from 'size_t' to
'int' [or 'unsigned int'], possible loss of data", part 1/4.
Replace "int n = str
Author: stl_msft
Date: Mon Dec 5 19:14:06 2016
New Revision: 288750
URL: http://llvm.org/viewvc/llvm-project?rev=288750&view=rev
Log:
[libcxx] [test] D27266: Remove spurious semicolons.
Modified:
libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash_equa
Author: stl_msft
Date: Mon Dec 5 19:13:51 2016
New Revision: 288749
URL: http://llvm.org/viewvc/llvm-project?rev=288749&view=rev
Log:
[libcxx] [test] D27025: Fix MSVC warning C4389 "signed/unsigned mismatch", part
12/12.
Various changes:
test/std/algorithms/alg.sorting/alg.merge/inplace_merge.
1 - 100 of 285 matches
Mail list logo