summaryrefslogtreecommitdiffstats
path: root/clang/Driver
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Driver')
-rw-r--r--clang/Driver/PrintParserCallbacks.cpp2
-rw-r--r--clang/Driver/RewriteObjC.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/clang/Driver/PrintParserCallbacks.cpp b/clang/Driver/PrintParserCallbacks.cpp
index fec13e39090..caae11b861e 100644
--- a/clang/Driver/PrintParserCallbacks.cpp
+++ b/clang/Driver/PrintParserCallbacks.cpp
@@ -403,7 +403,7 @@ namespace {
return 0;
}
- virtual ExprResult ActOnPreDefinedExpr(SourceLocation Loc,
+ virtual ExprResult ActOnPredefinedExpr(SourceLocation Loc,
tok::TokenKind Kind) {
llvm::cout << __FUNCTION__ << "\n";
return 0;
diff --git a/clang/Driver/RewriteObjC.cpp b/clang/Driver/RewriteObjC.cpp
index 59a77e7c598..0796b686b94 100644
--- a/clang/Driver/RewriteObjC.cpp
+++ b/clang/Driver/RewriteObjC.cpp
@@ -1941,8 +1941,8 @@ ObjCInterfaceDecl *RewriteObjC::isSuperReceiver(Expr *recExpr) {
// check if we are sending a message to 'super'
if (!CurMethodDecl || !CurMethodDecl->isInstance()) return 0;
- if (PreDefinedExpr *PDE = dyn_cast<PreDefinedExpr>(recExpr))
- if (PDE->getIdentType() == PreDefinedExpr::ObjCSuper) {
+ if (PredefinedExpr *PDE = dyn_cast<PredefinedExpr>(recExpr))
+ if (PDE->getIdentType() == PredefinedExpr::ObjCSuper) {
const PointerType *PT = PDE->getType()->getAsPointerType();
assert(PT);
ObjCInterfaceType *IT = cast<ObjCInterfaceType>(PT->getPointeeType());
OpenPOWER on IntegriCloud