[all-commits] [llvm/llvm-project] d55918: Renamed Lang_C to Lang_C99, Lang_CXX to Lang_CXX03...
Dmitri Gribenko via All-commits
all-commits at lists.llvm.org
Tue Jun 2 07:34:50 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d559185aaebeb66456edb63b47da5a2f67a0a5e2
https://github.com/llvm/llvm-project/commit/d559185aaebeb66456edb63b47da5a2f67a0a5e2
Author: Dmitri Gribenko <gribozavr at gmail.com>
Date: 2020-06-02 (Tue, 02 Jun 2020)
Changed paths:
M clang/include/clang/Testing/CommandLineArgs.h
M clang/lib/Testing/CommandLineArgs.cpp
M clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
M clang/unittests/AST/ASTImporterODRStrategiesTest.cpp
M clang/unittests/AST/ASTImporterTest.cpp
M clang/unittests/AST/MatchVerifier.h
M clang/unittests/AST/SourceLocationTest.cpp
M clang/unittests/AST/StructuralEquivalenceTest.cpp
M clang/unittests/Tooling/Syntax/TreeTest.cpp
Log Message:
-----------
Renamed Lang_C to Lang_C99, Lang_CXX to Lang_CXX03, and 2a to 20
Summary:
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.
Reviewers: shafik, hlopko
Reviewed By: hlopko
Subscribers: jfb, martong, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D81000
More information about the All-commits
mailing list