[all-commits] [llvm/llvm-project] 9930d4: [NFC, Refactor] Modernize enum FunctionDefinitionK...
Faisal Vali via All-commits
all-commits at lists.llvm.org
Sat Nov 21 07:56:13 PST 2020
Branch: refs/heads/temp-test-main
Home: https://github.com/llvm/llvm-project
Commit: 9930d4dff31a130890f21a64f43d530a83ae3d0a
https://github.com/llvm/llvm-project/commit/9930d4dff31a130890f21a64f43d530a83ae3d0a
Author: Faisal Vali <faisalv at yahoo.com>
Date: 2020-11-21 (Sat, 21 Nov 2020)
Changed paths:
M clang/include/clang/Sema/DeclSpec.h
M clang/lib/Parse/ParseCXXInlineMethods.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/Parser.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaType.cpp
Log Message:
-----------
[NFC, Refactor] Modernize enum FunctionDefinitionKind (DeclSpech.h) into a scoped enum
Reviewed by aaron.ballman, rsmith, wchilders
Highlights of review:
- avoid specifying an underlying type (unless such an enum is stored (or part of an abi?))
- avoid using enums as bit-fields, preferring unsigned bit-fields that we static_cast enumerators to. (MS's abi laysout enum bit-fields differently).
- clang-format, clang-format, clang-format.
https://reviews.llvm.org/D91035
Thank you!
More information about the All-commits
mailing list