]> granicus.if.org Git - clang/commit
Make '-Werror=frame-larger-than=' and associated diagnostic pragmas GCC-compatible
authorAlp Toker <alp@nuanti.com>
Mon, 9 Jun 2014 23:59:38 +0000 (23:59 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 9 Jun 2014 23:59:38 +0000 (23:59 +0000)
commit5ecb6106a89514b83481e6a3abe4de2d76591a99
tree09b1ae082bb12a5fbb1e7133a8018ace66d11d1f
parentfbd6f315afb495f2041963c91ce6d536d6d6b23d
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
include/clang/Basic/DiagnosticFrontendKinds.td
include/clang/Basic/DiagnosticGroups.td
test/Frontend/backend-diagnostic.c
test/Misc/backend-stack-frame-diagnostics.cpp