[all-commits] [llvm/llvm-project] fd2475: Revert "C++/ObjC++: switch to gnu++17 as the defau...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Sep 8 00:51:34 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd2475049e882e6c70a745cbe0799749ba184910
https://github.com/llvm/llvm-project/commit/fd2475049e882e6c70a745cbe0799749ba184910
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-09-08 (Thu, 08 Sep 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Basic/LangStandards.cpp
R clang/test/Preprocessor/lang-std.cpp
A clang/test/Preprocessor/lang-std.cu
M clang/test/lit.cfg.py
M clang/test/lit.site.cfg.py.in
Log Message:
-----------
Revert "C++/ObjC++: switch to gnu++17 as the default standard"
This reverts commit e321c8dd2cea8365045ed44ae1c3c00c6a977d2e.
This causes many failures in llvm-test-suite, for example:
/home/npopov/repos/llvm-test-suite/build-O3/tools/timeit --summary MultiSource/Applications/lambda-0.1.3/CMakeFiles/lambda.dir/token_stream.cc.o.time /home/npopov/repos/llvm-project/build/bin/clang++ -DNDEBUG -I/home/npopov/repos/llvm-test-suite/MultiSource/Applications/lambda-0.1.3 -O3 -w -Werror=date-time -MD -MT MultiSource/Applications/lambda-0.1.3/CMakeFiles/lambda.dir/token_stream.cc.o -MF MultiSource/Applications/lambda-0.1.3/CMakeFiles/lambda.dir/token_stream.cc.o.d -o MultiSource/Applications/lambda-0.1.3/CMakeFiles/lambda.dir/token_stream.cc.o -c /home/npopov/repos/llvm-test-suite/MultiSource/Applications/lambda-0.1.3/token_stream.cc
/home/npopov/repos/llvm-test-suite/MultiSource/Applications/lambda-0.1.3/token_stream.cc:192:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register char chr;
^~~~~~~~~
More information about the All-commits
mailing list