]> granicus.if.org Git - clang/commit
Use "EvaluateAsRValue" instead of as a known int, because if it's not a known
authorBill Wendling <isanbard@gmail.com>
Wed, 19 Dec 2018 04:54:29 +0000 (04:54 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 19 Dec 2018 04:54:29 +0000 (04:54 +0000)
commita1a49a7b666a6a9d9b55b52602f9773a9e00b4f5
tree2b09c122110aa40b221f6f8f9d1ee11a90a5b6e0
parent4b80d338e3b88e070111fcccf78616904881e202
Use "EvaluateAsRValue" instead of as a known int, because if it's not a known
integer we want to emit a diagnostic instead of asserting.

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