[clang][Interp] Ignore StaticAssertDecls
authorTimm Bäder <tbaeder@redhat.com>
Fri, 17 Feb 2023 15:56:47 +0000 (16:56 +0100)
committerTimm Bäder <tbaeder@redhat.com>
Mon, 3 Apr 2023 14:56:58 +0000 (16:56 +0200)
commit192c2c5c89477e28d0129f37a7d262112585b353
tree85338e2dba3fb8da62d3fbcf33298847dd4abd24
parentc1660006b2809a17e9e33034252306a703fdb720
[clang][Interp] Ignore StaticAssertDecls

They have already been handled before, but we can't just return false
when we encounter one.

Differential Revision: https://reviews.llvm.org/D144272
clang/lib/AST/Interp/ByteCodeStmtGen.cpp
clang/test/AST/Interp/functions.cpp