]> granicus.if.org Git - clang/commit
Implement the 'optnone' attribute, which suppresses most optimizations
authorPaul Robinson <paul_robinson@playstation.sony.com>
Mon, 31 Mar 2014 22:29:15 +0000 (22:29 +0000)
committerPaul Robinson <paul_robinson@playstation.sony.com>
Mon, 31 Mar 2014 22:29:15 +0000 (22:29 +0000)
commit8c03089bdaafa9f932d59f81ca584f39f1df89e2
tree8930b5ecfe8be9414680a588e2cc74def5cc58f5
parentb1f71ddfcfd6ee48161f82273846c8e99191a5ec
Implement the 'optnone' attribute, which suppresses most optimizations
on a function.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205255 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
lib/CodeGen/CodeGenModule.cpp
lib/Sema/SemaDeclAttr.cpp
test/CodeGen/attr-optnone.c [new file with mode: 0644]
test/SemaCXX/attr-optnone.cpp [new file with mode: 0644]
test/SemaObjC/method-attributes.m