[PATCH] D81455: [clang][NFC] Generate the {Type,ArrayType,UnaryExprOrType,Expression}Traits enumerations from TokenKinds.def...
Bruno Ricci via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 9 03:48:30 PDT 2020
riccibruno marked 2 inline comments as done.
riccibruno added inline comments.
================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:6008
def ext_sizeof_alignof_void_type : Extension<
- "invalid application of '%sub{select_unary_expr_or_type_trait_kind}0' "
- "to a void type">, InGroup<PointerArith>;
+ "invalid application of '%0' to a void type">, InGroup<PointerArith>;
def err_opencl_sizeof_alignof_type : Error<
----------------
These two can merged in a further patch.
================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:6014
def err_sizeof_alignof_function_type : Error<
- "invalid application of '%sub{select_unary_expr_or_type_trait_kind}0' "
- "to a function type">;
+ "invalid application of '%0' to a function type">;
def err_openmp_default_simd_align_expr : Error<
----------------
Same.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81455/new/
https://reviews.llvm.org/D81455
More information about the cfe-commits
mailing list