diff options
author | Alp Toker <alp@nuanti.com> | 2014-01-06 12:54:32 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-01-06 12:54:32 +0000 |
commit | 600d282cf74f13f56389122e1ece07ed24b6c153 (patch) | |
tree | e94519eec34983c9340d88119a80c8d979d79337 /include/clang/Basic/DiagnosticParseKinds.td | |
parent | 14e7185bc2a0b7b3aeb1029bc064ac221a63dca5 (diff) | |
download | clang-600d282cf74f13f56389122e1ece07ed24b6c153.tar.gz clang-600d282cf74f13f56389122e1ece07ed24b6c153.tar.bz2 clang-600d282cf74f13f56389122e1ece07ed24b6c153.tar.xz |
Don't use magic constants in the digraph diagnostic
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198605 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticParseKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticParseKinds.td | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/clang/Basic/DiagnosticParseKinds.td b/include/clang/Basic/DiagnosticParseKinds.td index 48446771ed..7e9272945c 100644 --- a/include/clang/Basic/DiagnosticParseKinds.td +++ b/include/clang/Basic/DiagnosticParseKinds.td @@ -641,9 +641,7 @@ def err_ctor_init_missing_comma : Error< def err_friend_decl_defines_type : Error< "cannot define a type in a friend declaration">; def err_missing_whitespace_digraph : Error< - "found '<::' after a " - "%select{template name|const_cast|dynamic_cast|reinterpret_cast|static_cast}0" - " which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'?">; + "found '<::' after a %0 which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'?">; def ext_deleted_function : ExtWarn< "deleted function definitions are a C++11 extension">, InGroup<CXX11>; |