r177940 - Fix layering violation harder.

Matt Beaumont-Gay matthewbg at google.com
Mon Mar 25 16:19:32 PDT 2013


Author: matthewbg
Date: Mon Mar 25 18:19:32 2013
New Revision: 177940

URL: http://llvm.org/viewvc/llvm-project?rev=177940&view=rev
Log:
Fix layering violation harder.

Modified:
    cfe/trunk/include/clang/Basic/OpenMPKinds.h

Modified: cfe/trunk/include/clang/Basic/OpenMPKinds.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/OpenMPKinds.h?rev=177940&r1=177939&r2=177940&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/OpenMPKinds.h (original)
+++ cfe/trunk/include/clang/Basic/OpenMPKinds.h Mon Mar 25 18:19:32 2013
@@ -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);
 
 }





More information about the cfe-commits mailing list