]> granicus.if.org Git - clang/commitdiff
Fix a typo in a comment.
authorZhanyong Wan <wan@google.com>
Tue, 23 Nov 2010 06:43:05 +0000 (06:43 +0000)
committerZhanyong Wan <wan@google.com>
Tue, 23 Nov 2010 06:43:05 +0000 (06:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120004 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Expr.h

index 2ffaeb55cbbb04c437189feb3bc25fb7025ea8d4..3050bf9a2e9a5bb06211748cfd25ffb18804db52 100644 (file)
@@ -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;
   }