commit | f6b9e40be37818012cf13341ea968d5761bb64e4 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <pcc@google.com> | Wed Dec 30 22:55:57 2020 -0800 |
committer | Peter Collingbourne <pcc@google.com> | Tue Jan 05 22:08:35 2021 +0000 |
tree | 933773c663aecae8e3a01069622f42caa3a76445 | |
parent | 6e6f1b2ffb243b3e5ae112bba3cd52031deb31ba [diff] |
Add constexpr annotations to LSEVisitor member functions. Newer versions of clang rightly warn about LSEVisitor::Value::Equals not being a constexpr function because it calls the non-constexpr function LSEVisitor::IsValid(). Silence the warning by marking that function and its callees as constexpr. Change-Id: Ib3c36bd02232f8e465eac4eceabfa7ac069a634f