diff options
author | Alp Toker <alp@nuanti.com> | 2014-06-09 23:59:38 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-06-09 23:59:38 +0000 |
commit | 5ecb6106a89514b83481e6a3abe4de2d76591a99 (patch) | |
tree | 09b1ae082bb12a5fbb1e7133a8018ace66d11d1f /include/clang/Basic/DiagnosticFrontendKinds.td | |
parent | fbd6f315afb495f2041963c91ce6d536d6d6b23d (diff) | |
download | clang-5ecb6106a89514b83481e6a3abe4de2d76591a99.tar.gz clang-5ecb6106a89514b83481e6a3abe4de2d76591a99.tar.bz2 clang-5ecb6106a89514b83481e6a3abe4de2d76591a99.tar.xz |
Make '-Werror=frame-larger-than=' and associated diagnostic pragmas GCC-compatible
It turns out the trailing '=' really is part of the option name spelling and
treating it as such gets us compatible with GCC's -Werror= and pragmas.
(GCC doesn't appear to support any -Wno- form for this diagnostic but we do.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210503 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticFrontendKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticFrontendKinds.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticFrontendKinds.td b/include/clang/Basic/DiagnosticFrontendKinds.td index 3527e8e3de..023fcb6235 100644 --- a/include/clang/Basic/DiagnosticFrontendKinds.td +++ b/include/clang/Basic/DiagnosticFrontendKinds.td @@ -23,8 +23,8 @@ def err_fe_cannot_link_module : Error<"cannot link module '%0': %1">, DefaultFatal; def warn_fe_frame_larger_than : Warning<"stack frame size of %0 bytes in %q1">, - CatBackend, InGroup<BackendFrameLargerThan>; -def warn_fe_backend_frame_larger_than: Warning<"%0">, CatBackend, InGroup<BackendFrameLargerThan>; + CatBackend, InGroup<BackendFrameLargerThanEQ>; +def warn_fe_backend_frame_larger_than: Warning<"%0">, CatBackend, InGroup<BackendFrameLargerThanEQ>; def err_fe_backend_frame_larger_than: Error<"%0">, CatBackend; def note_fe_backend_frame_larger_than: Note<"%0">, CatBackend; |