summaryrefslogtreecommitdiffstats
path: root/docs/tools
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-10-21 05:21:48 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-10-21 05:21:48 +0000
commitdae4ac4fe56ec60fc93b3e3c9f51e79e682084b9 (patch)
tree985aeb68564bd5554648b6e1175f0a5602736fd1 /docs/tools
parent4d8ae4d57ed18d60da4d3786fb740607aa7c3688 (diff)
Reorganize predefined macros for all Windows targets.
This adds an option to set the _MSC_VER macro without recompiling. This is very useful when testing compatibility with the Windows SDK and c++stdlib headers. -fmsc-version=<version> (defaults to VS2003 (1300)) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116999 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tools')
-rw-r--r--docs/tools/clang.pod4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/tools/clang.pod b/docs/tools/clang.pod
index b99eb8f7a7..9f7a448301 100644
--- a/docs/tools/clang.pod
+++ b/docs/tools/clang.pod
@@ -175,6 +175,10 @@ Enable support for Pascal-style strings with "\pfoo".
Enable support for Microsoft extensions.
+=item B<-fmsc-version=>
+
+Set _MSC_VER. Defaults to 1300 on Windows. Not set otherwise.
+
=item B<-fborland-extensions>
Enable support for Borland extensions.