summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaObjCProperty.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-03 03:45:55 +0000
committerAlp Toker <alp@nuanti.com>2014-05-03 03:45:55 +0000
commitb6cc592ea3195d49bee6c59f24a071d18865cb57 (patch)
treedbdad383ca4a5eb3c4de70f53e33ae7c62ad6ab3 /clang/lib/Sema/SemaObjCProperty.cpp
parentb7b579aa93346123487e4408084600e7514aa93d (diff)
downloadbcm5719-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/SemaObjCProperty.cpp')
-rw-r--r--clang/lib/Sema/SemaObjCProperty.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp
index 75dc5cfd901..1b49c2abdc9 100644
--- a/clang/lib/Sema/SemaObjCProperty.cpp
+++ b/clang/lib/Sema/SemaObjCProperty.cpp
@@ -19,7 +19,6 @@
#include "clang/AST/ExprObjC.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/Lexer.h"
-#include "clang/Lex/Preprocessor.h"
#include "clang/Sema/Initialization.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/SmallString.h"
@@ -550,7 +549,7 @@ ObjCPropertyDecl *Sema::CreatePropertyDecl(Scope *S,
if (T->isObjCObjectType()) {
SourceLocation StarLoc = TInfo->getTypeLoc().getLocEnd();
- StarLoc = PP.getLocForEndOfToken(StarLoc);
+ StarLoc = getLocForEndOfToken(StarLoc);
Diag(FD.D.getIdentifierLoc(), diag::err_statically_allocated_object)
<< FixItHint::CreateInsertion(StarLoc, "*");
T = Context.getObjCObjectPointerType(T);
OpenPOWER on IntegriCloud