[PATCH] D81000: Renamed Lang_C to Lang_C99, Lang_CXX to Lang_CXX03, and 2a to 20
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 2 06:36:37 PDT 2020
gribozavr created this revision.
Herald added subscribers: cfe-commits, martong.
Herald added a reviewer: shafik.
Herald added a project: clang.
gribozavr2 added a reviewer: hlopko.
gribozavr updated this revision to Diff 267866.
gribozavr added a comment.
Herald added a subscriber: jfb.
gribozavr2 retitled this revision from "Renamed Lang_C to Lang_C99 and Lang_CXX to Lang_CXX03" to "Renamed Lang_C to Lang_C99, Lang_CXX to Lang_CXX03, and 2a to 20".
Also rename 2a to 20.
I think we would be better off with tests explicitly specifying the
language mode. Right now Lang_C means C99, but reads as "any C version",
or as "unspecified C version".
I also changed '-std=c++98' to '-std=c++03' because they are aliases (so
there is no difference in practice), because Clang implements C++03
rules in practice, and because 03 makes a nice sortable progression
between 03, 11, 14, 17, 20.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81000
Files:
clang/include/clang/Testing/CommandLineArgs.h
clang/lib/Testing/CommandLineArgs.cpp
clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
clang/unittests/AST/ASTImporterODRStrategiesTest.cpp
clang/unittests/AST/ASTImporterTest.cpp
clang/unittests/AST/MatchVerifier.h
clang/unittests/AST/SourceLocationTest.cpp
clang/unittests/AST/StructuralEquivalenceTest.cpp
clang/unittests/Tooling/Syntax/TreeTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81000.267866.patch
Type: text/x-patch
Size: 161646 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200602/614f6d1d/attachment-0001.bin>
More information about the cfe-commits
mailing list