diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2011-05-26 08:53:10 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2011-05-26 08:53:10 +0000 |
| commit | 14502c26fe5ec9d5dbafc96654ca3a0e1f20ef1f (patch) | |
| tree | fb21d6d90a9de0ec79cc39144f8fc41ea9b395ee /clang/lib/Sema/TreeTransform.h | |
| parent | 936847ddf50ef7d7629b74aabf666bbc695abcf6 (diff) | |
| download | bcm5719-llvm-14502c26fe5ec9d5dbafc96654ca3a0e1f20ef1f.tar.gz bcm5719-llvm-14502c26fe5ec9d5dbafc96654ca3a0e1f20ef1f.zip | |
Add a convenience interface for checking expression arguments to unary
traits which uses the information embedded in the expression. Use this
to simplify several interfaces which repeated information embedded in
the expression through explicit arguments. I added an assertion that the
only extra piece of data to come in from the parser matches what is
stored in the expression. No functionality change intended here.
Also cleaned up the doxygen comments for some of these methods and some
formatting oddities.
llvm-svn: 132115
Diffstat (limited to 'clang/lib/Sema/TreeTransform.h')
| -rw-r--r-- | clang/lib/Sema/TreeTransform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/TreeTransform.h b/clang/lib/Sema/TreeTransform.h index 396a978260a..2bf3c228c49 100644 --- a/clang/lib/Sema/TreeTransform.h +++ b/clang/lib/Sema/TreeTransform.h @@ -1378,7 +1378,7 @@ public: UnaryExprOrTypeTrait ExprKind, SourceRange R) { ExprResult Result - = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind, R); + = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, ExprKind); if (Result.isInvalid()) return ExprError(); |

