commit | 5520f23edb421a1f87d8d3b1356b3919114f6d88 | [log] [tgz] |
---|---|---|
author | Richard Trieu <rtrieu@google.com> | Wed Sep 07 21:46:33 2011 +0000 |
committer | Richard Trieu <rtrieu@google.com> | Wed Sep 07 21:46:33 2011 +0000 |
tree | 5de026413ded0d9d6d8098d26eee86058f69644f | |
parent | 2eef427c8666cbe9a3cad40d4947c67c3ba0c400 [diff] |
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