aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Driver/OptTable.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-08-13 04:44:20 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-08-13 04:44:20 +0000
commitcaeed1d3a5b366ae8fda5dda9bddc7bbb859c41f (patch)
tree931a528e8f0274919e3119ec3a5325851d16f052 /include/clang/Driver/OptTable.h
parent914ed9d30e9abf829a62aa996b083b1e47c19ff6 (diff)
Driver/OptParser: Add a NoForward flag to prevent forwarding certain options to
GCC. - Mark -Xclang and -mlinker-version= with it for now, although I am sure there are more. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/OptTable.h')
-rw-r--r--include/clang/Driver/OptTable.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/clang/Driver/OptTable.h b/include/clang/Driver/OptTable.h
index e4a2eba578..65682805bc 100644
--- a/include/clang/Driver/OptTable.h
+++ b/include/clang/Driver/OptTable.h
@@ -25,10 +25,11 @@ namespace options {
HelpHidden = (1 << 1),
LinkerInput = (1 << 2),
NoArgumentUnused = (1 << 3),
- RenderAsInput = (1 << 4),
- RenderJoined = (1 << 5),
- RenderSeparate = (1 << 6),
- Unsupported = (1 << 7)
+ NoForward = (1 << 4),
+ RenderAsInput = (1 << 5),
+ RenderJoined = (1 << 6),
+ RenderSeparate = (1 << 7),
+ Unsupported = (1 << 8)
};
}