summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-query/Query.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-11-08 08:54:53 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-11-08 08:54:53 +0000
commitc7ae6101a4a347775df15352571f5fc34f442ca8 (patch)
treee6cf59b4d1506366393c65c7188ff64818519536 /clang-tools-extra/clang-query/Query.cpp
parent523bea8a399b139272906d467b04c26bed40b099 (diff)
downloadbcm5719-llvm-c7ae6101a4a347775df15352571f5fc34f442ca8.tar.gz
bcm5719-llvm-c7ae6101a4a347775df15352571f5fc34f442ca8.zip
Revert r194247 conditional on non-MSVC.
These definitions are required by the standard. MSVC rejecting them appears to be a bug. llvm-svn: 194252
Diffstat (limited to 'clang-tools-extra/clang-query/Query.cpp')
-rw-r--r--clang-tools-extra/clang-query/Query.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-query/Query.cpp b/clang-tools-extra/clang-query/Query.cpp
index 83891a3990a..dcfa80c5277 100644
--- a/clang-tools-extra/clang-query/Query.cpp
+++ b/clang-tools-extra/clang-query/Query.cpp
@@ -124,5 +124,10 @@ bool MatchQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const {
return true;
}
+#ifndef _MSC_VER
+const QueryKind SetQueryKind<bool>::value;
+const QueryKind SetQueryKind<OutputKind>::value;
+#endif
+
} // namespace query
} // namespace clang
OpenPOWER on IntegriCloud