]> granicus.if.org Git - clang/commit
Add a convenience interface for checking expression arguments to unary
authorChandler Carruth <chandlerc@gmail.com>
Thu, 26 May 2011 08:53:10 +0000 (08:53 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 26 May 2011 08:53:10 +0000 (08:53 +0000)
commit9d342d0121531bcbd2410f600a751dc85993bdee
tree5cfaeadb4c2cc6bb3a95cd8ee551607d1b0b64f6
parent9ae60d54e4454192384933f3020968ea5c8c3540
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132115 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/TreeTransform.h