]> granicus.if.org Git - clang/commit
Change diagnoseAddressOfInvalidType() to use an enum to determine what error message...
authorRichard Trieu <rtrieu@google.com>
Wed, 7 Sep 2011 21:46:33 +0000 (21:46 +0000)
committerRichard Trieu <rtrieu@google.com>
Wed, 7 Sep 2011 21:46:33 +0000 (21:46 +0000)
commit5520f23edb421a1f87d8d3b1356b3919114f6d88
tree5de026413ded0d9d6d8098d26eee86058f69644f
parent2eef427c8666cbe9a3cad40d4947c67c3ba0c400
Change diagnoseAddressOfInvalidType() to use an enum to determine what error message to display.  Also, move the function call into on location instead of having it spread among many places in the if/else statements.

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