diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-12 19:33:27 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-12 19:33:27 +0000 |
commit | 60f24e781484250d3602261477d16321db7a157b (patch) | |
tree | 26bf6a06363fbeed82c349dbc0f331d2e1857b4a /include | |
parent | 3b29bb99948f9e8b4a4e829445c753f6858f607e (diff) |
Further tweaking of diagnostic text for casts performing reinterpret_cast
conversions in constant expressions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146406 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/Basic/DiagnosticASTKinds.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticASTKinds.td b/include/clang/Basic/DiagnosticASTKinds.td index 9f0da2d6eb..4f7169dade 100644 --- a/include/clang/Basic/DiagnosticASTKinds.td +++ b/include/clang/Basic/DiagnosticASTKinds.td @@ -13,8 +13,8 @@ let Component = "AST" in { // "C does not permit evaluated commas in an integer constant expression">; def note_expr_divide_by_zero : Note<"division by zero">; def note_constexpr_invalid_cast : Note< - "%select{reinterpret_cast|dynamic_cast|cast interpreted as a " - "reinterpret_cast|cast from %1}0 is not allowed in a constant expression">; + "%select{reinterpret_cast|dynamic_cast|cast which performs the conversions of" + " a reinterpret_cast|cast from %1}0 is not allowed in a constant expression">; // inline asm related. let CategoryName = "Inline Assembly Issue" in { |