aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhanyong Wan <wan@google.com>2010-11-23 06:43:05 +0000
committerZhanyong Wan <wan@google.com>2010-11-23 06:43:05 +0000
commitcc7bd10c0de9449b795bda3c5dcc6d83cc48436b (patch)
treeee7a2c86b5c6df3df20f3b892501f43d903ad57b
parent151466a18671df9cfd9abd59ba53df35b1d687da (diff)
Fix a typo in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120004 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h
index 2ffaeb55cb..3050bf9a2e 100644
--- a/include/clang/AST/Expr.h
+++ b/include/clang/AST/Expr.h
@@ -1178,7 +1178,7 @@ public:
return Op == UO_PostInc || Op == UO_PostDec;
}
- /// isPostfix - Return true if this is a prefix operation, like --x.
+ /// isPrefix - Return true if this is a prefix operation, like --x.
static bool isPrefix(Opcode Op) {
return Op == UO_PreInc || Op == UO_PreDec;
}