diff options
author | Alp Toker <alp@nuanti.com> | 2014-05-03 03:45:55 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-05-03 03:45:55 +0000 |
commit | b6cc592ea3195d49bee6c59f24a071d18865cb57 (patch) | |
tree | dbdad383ca4a5eb3c4de70f53e33ae7c62ad6ab3 /clang/lib/Sema/SemaExceptionSpec.cpp | |
parent | b7b579aa93346123487e4408084600e7514aa93d (diff) | |
download | bcm5719-llvm-b6cc592ea3195d49bee6c59f24a071d18865cb57.tar.gz bcm5719-llvm-b6cc592ea3195d49bee6c59f24a071d18865cb57.zip |
Fix a bunch of mislayered clang/Lex includes from Sema
llvm-svn: 207896
Diffstat (limited to 'clang/lib/Sema/SemaExceptionSpec.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExceptionSpec.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExceptionSpec.cpp b/clang/lib/Sema/SemaExceptionSpec.cpp index 59fd85ef710..531c71f3c29 100644 --- a/clang/lib/Sema/SemaExceptionSpec.cpp +++ b/clang/lib/Sema/SemaExceptionSpec.cpp @@ -19,7 +19,6 @@ #include "clang/AST/TypeLoc.h" #include "clang/Basic/Diagnostic.h" #include "clang/Basic/SourceManager.h" -#include "clang/Lex/Preprocessor.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/SmallString.h" @@ -297,7 +296,7 @@ bool Sema::CheckEquivalentExceptionSpec(FunctionDecl *Old, FunctionDecl *New) { if (TypeSourceInfo *TSInfo = New->getTypeSourceInfo()) { TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); if (FunctionTypeLoc FTLoc = TL.getAs<FunctionTypeLoc>()) - FixItLoc = PP.getLocForEndOfToken(FTLoc.getLocalRangeEnd()); + FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); } if (FixItLoc.isInvalid()) |