summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclAttr.cpp
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2011-09-17 17:15:52 +0000
committerFrancois Pichet <pichet2000@gmail.com>2011-09-17 17:15:52 +0000
commit0706d203cf4a220b46c5c1d20231c7974fb5acd2 (patch)
treeca35441bc87425dfddd61b26c6585cf722f29f48 /clang/lib/Sema/SemaDeclAttr.cpp
parentf2b8c854dd3c98ff1d807c0f0a14e0f3529f725f (diff)
downloadbcm5719-llvm-0706d203cf4a220b46c5c1d20231c7974fb5acd2.tar.gz
bcm5719-llvm-0706d203cf4a220b46c5c1d20231c7974fb5acd2.zip
Rename LangOptions::Microsoft to LangOptions::MicrosoftExt to make it clear that this flag must be used only for Microsoft extensions and not emulation; to avoid confusion with the new LangOptions::MicrosoftMode flag.
Many of the code now under LangOptions::MicrosoftExt will eventually be moved under the LangOptions::MicrosoftMode flag. llvm-svn: 139987
Diffstat (limited to 'clang/lib/Sema/SemaDeclAttr.cpp')
-rw-r--r--clang/lib/Sema/SemaDeclAttr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp
index f987a5d5942..1f97d402114 100644
--- a/clang/lib/Sema/SemaDeclAttr.cpp
+++ b/clang/lib/Sema/SemaDeclAttr.cpp
@@ -3322,7 +3322,7 @@ static bool isKnownDeclSpecAttr(const AttributeList &Attr) {
//===----------------------------------------------------------------------===//
static void handleUuidAttr(Sema &S, Decl *D, const AttributeList &Attr) {
- if (S.LangOpts.Microsoft || S.LangOpts.Borland) {
+ if (S.LangOpts.MicrosoftExt || S.LangOpts.Borland) {
// check the attribute arguments.
if (!checkAttributeNumArgs(S, Attr, 1))
return;
OpenPOWER on IntegriCloud