summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-rc/ResourceScriptParser.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2017-09-28 20:36:53 +0000
committerErich Keane <erich.keane@intel.com>2017-09-28 20:36:53 +0000
commitc372e15c4e4a448e43924ad3405e81ed771c928c (patch)
tree16f4cc37d737c210ddb72f643ac893d675be7134 /llvm/tools/llvm-rc/ResourceScriptParser.cpp
parent8eec6dde6a7df7ba8d5916da512bcc28384ee3ef (diff)
downloadbcm5719-llvm-c372e15c4e4a448e43924ad3405e81ed771c928c.tar.gz
bcm5719-llvm-c372e15c4e4a448e43924ad3405e81ed771c928c.zip
[Sema] Warn on attribute nothrow conflicting with language specifiers
I discovered it was possible to create a 'nothrow' noexcept(false) function, which is both non-sensical as well as seemingly breaking. This patch warns if attribute nothrow is used with anything besides "noexcept". "noexcept(true)" isn't possible, because the noexcept decl isn't parsed until later. Differential Revision: https://reviews.llvm.org/D38205 llvm-svn: 314461
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud