Warn when attribute 'optnone' conflicts with attributes on a
authorPaul Robinson <paul_robinson@playstation.sony.com>
Mon, 15 Dec 2014 18:57:28 +0000 (18:57 +0000)
committerPaul Robinson <paul_robinson@playstation.sony.com>
Mon, 15 Dec 2014 18:57:28 +0000 (18:57 +0000)
commit30e41fb4da688d9c7c4d9bc122d8f1cb9a864f75
tree0ee33016bac3c92c95642f9566df6abbba07e0d3
parentaddddc441f9c7fbd4ed70bc5a3256c385599929d
Warn when attribute 'optnone' conflicts with attributes on a
different declaration of the same function.

llvm-svn: 224256
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Sema.h
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/SemaCXX/attr-optnone.cpp