]> granicus.if.org Git - clang/commitdiff
Fix layering violation harder.
authorMatt Beaumont-Gay <matthewbg@google.com>
Mon, 25 Mar 2013 23:19:32 +0000 (23:19 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Mon, 25 Mar 2013 23:19:32 +0000 (23:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177940 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/OpenMPKinds.h

index ef37db00d02629b5a9643795e2c376402988cc0c..c90e9a0a76d59dd98d9199f57d95e2353d35ba94 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef LLVM_CLANG_BASIC_OPENMPKINDS_H
 #define LLVM_CLANG_BASIC_OPENMPKINDS_H
 
-#include "clang/Lex/Token.h"
+#include "llvm/ADT/StringRef.h"
 
 namespace clang {
 
@@ -28,7 +28,7 @@ enum OpenMPDirectiveKind {
   NUM_OPENMP_DIRECTIVES
 };
 
-OpenMPDirectiveKind getOpenMPDirectiveKind(StringRef Str);
+OpenMPDirectiveKind getOpenMPDirectiveKind(llvm::StringRef Str);
 const char *getOpenMPDirectiveName(OpenMPDirectiveKind Kind);
 
 }