================
@@ -2399,6 +2399,8 @@ class UnaryOperator final
/// corresponds to, e.g. "sizeof" or "[pre]++"
static StringRef getOpcodeStr(Opcode Op);
+ StringRef getOpcodeStr() const { return getOpcodeStr(getOpcode()); }
----------------
LocalPiper wrote:
Thanks, I missed this one. From what I can tell, there are no more non-matching
calls to public `getOpcodeStr` in clang and clangd.
https://github.com/llvm/llvm-project/pull/230692
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits