aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-04-10 21:26:02 +0000
committerChad Rosier <mcrosier@apple.com>2013-04-10 21:26:02 +0000
commitd4fc9de6f7d9a56bdc2ec51d9cbbfd7d3cb0cf0a (patch)
tree168cc580eefaeee89edcd97e690d8bab01d0f56c /include
parent2c5a38e3bc347de64f694671bbb1097bd6544456 (diff)
downloadclang-d4fc9de6f7d9a56bdc2ec51d9cbbfd7d3cb0cf0a.tar.gz
[driver] Add a -Ofast option, which enables -O3, -ffast-math, and
-fstrict-aliasing. rdar://13622687 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179216 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Driver/Options.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td
index b9cf026fee..7997622d06 100644
--- a/include/clang/Driver/Options.td
+++ b/include/clang/Driver/Options.td
@@ -181,6 +181,7 @@ def ObjCXX : Flag<["-"], "ObjC++">, Flags<[DriverOption]>,
def ObjC : Flag<["-"], "ObjC">, Flags<[DriverOption]>,
HelpText<"Treat source input files as Objective-C inputs">;
def O : Joined<["-"], "O">, Group<O_Group>, Flags<[CC1Option]>;
+def Ofast : Joined<["-"], "Ofast">, Group<O_Group>, Flags<[CC1Option]>;
def P : Flag<["-"], "P">, Flags<[CC1Option]>,
HelpText<"Disable linemarker output in -E mode">;
def Qn : Flag<["-"], "Qn">;