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
Showing
- include/clang/Basic/DiagnosticFrontendKinds.td 2 additions, 2 deletionsinclude/clang/Basic/DiagnosticFrontendKinds.td
- include/clang/Basic/DiagnosticGroups.td 1 addition, 1 deletioninclude/clang/Basic/DiagnosticGroups.td
- test/Frontend/backend-diagnostic.c 2 additions, 2 deletionstest/Frontend/backend-diagnostic.c
- test/Misc/backend-stack-frame-diagnostics.cpp 10 additions, 0 deletionstest/Misc/backend-stack-frame-diagnostics.cpp
Please register or sign in to comment