diff options
| author | Alp Toker <alp@nuanti.com> | 2013-12-09 12:41:02 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2013-12-09 12:41:02 +0000 |
| commit | cfea74944a3158b3caab91f7ca6b741a42637738 (patch) | |
| tree | 29bcd9800a541292d3832b606b18a049fe22fef3 /clang/test/Sema | |
| parent | 26a5a7475ebfc8ed7f6c9e87276869e4924b52d6 (diff) | |
| download | bcm5719-llvm-cfea74944a3158b3caab91f7ca6b741a42637738.tar.gz bcm5719-llvm-cfea74944a3158b3caab91f7ca6b741a42637738.zip | |
Make the -Wkeyword-compat diag message more accurate
Changed from:
keyword '__is_empty' will be treated as an identifier for the remainder of the translation unit
To:
keyword '__is_empty' will be made available as an identifier for the remainder of the translation unit
This is a more accurate description of clang's keyword compatibility feature,
given that some of the keywords are turned into context-sensitive keywords
(e.g. REVERTIBLE_TYPE_TRAIT) rather than being fully disabled.
llvm-svn: 196776
Diffstat (limited to 'clang/test/Sema')
| -rw-r--r-- | clang/test/Sema/Inputs/ms-keyword-system-header.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/Inputs/ms-keyword-system-header.h b/clang/test/Sema/Inputs/ms-keyword-system-header.h index 43a3db7a12b..dda4c2a0111 100644 --- a/clang/test/Sema/Inputs/ms-keyword-system-header.h +++ b/clang/test/Sema/Inputs/ms-keyword-system-header.h @@ -3,7 +3,7 @@ typedef union { union w *__uptr; #if defined(MS) && defined(NOT_SYSTEM) - // expected-warning@-2 {{keyword '__uptr' will be treated as an identifier here}} + // expected-warning@-2 {{keyword '__uptr' will be made available as an identifier here}} #endif int *__iptr; } WS __attribute__((__transparent_union__)); |

