[clang] [clang][DebugInfo][NFC] Add createConstantValueExpression helper (PR #70674)
Felipe de Azevedo Piovezan via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 30 08:58:16 PDT 2023
================
@@ -5935,3 +5918,28 @@ llvm::DINode::DIFlags CGDebugInfo::getCallSiteRelatedAttrs() const {
return llvm::DINode::FlagAllCallsDescribed;
}
+
+llvm::DIExpression *
+CGDebugInfo::createConstantValueExpression(clang::ValueDecl const *VD,
+ const APValue &Val) {
----------------
felipepiovezan wrote:
`const` is a inconsistent here, right? We have both east and west const
https://github.com/llvm/llvm-project/pull/70674
More information about the cfe-commits
mailing list