[clang-tools-extra] r194252 - Revert r194247 conditional on non-MSVC.

Peter Collingbourne peter at pcc.me.uk
Fri Nov 8 00:54:53 PST 2013


Author: pcc
Date: Fri Nov  8 02:54:53 2013
New Revision: 194252

URL: http://llvm.org/viewvc/llvm-project?rev=194252&view=rev
Log:
Revert r194247 conditional on non-MSVC.

These definitions are required by the standard.  MSVC rejecting them
appears to be a bug.

Modified:
    clang-tools-extra/trunk/clang-query/Query.cpp

Modified: clang-tools-extra/trunk/clang-query/Query.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-query/Query.cpp?rev=194252&r1=194251&r2=194252&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-query/Query.cpp (original)
+++ clang-tools-extra/trunk/clang-query/Query.cpp Fri Nov  8 02:54:53 2013
@@ -124,5 +124,10 @@ bool MatchQuery::run(llvm::raw_ostream &
   return true;
 }
 
+#ifndef _MSC_VER
+const QueryKind SetQueryKind<bool>::value;
+const QueryKind SetQueryKind<OutputKind>::value;
+#endif
+
 } // namespace query
 } // namespace clang





More information about the cfe-commits mailing list