[clang] [clang] Fix assertion failure when printing atomic apvalues (PR #85259)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 25 06:36:45 PDT 2024


https://github.com/AaronBallman commented:

LGTM but this should be testable because `getAsString()` uses `printPretty()`: https://github.com/llvm/llvm-project/blob/e6f63a942a45e3545332cd9a43982a69a4d5667b/clang/lib/AST/Interp/FunctionPointer.h#L53, https://github.com/llvm/llvm-project/blob/e6f63a942a45e3545332cd9a43982a69a4d5667b/clang/lib/AST/ExprConstant.cpp#L1674, etc

https://github.com/llvm/llvm-project/pull/85259


More information about the cfe-commits mailing list