[clang] Add support for builtin_verbose_trap (PR #79230)
David Blaikie via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 24 10:18:51 PDT 2024
================
@@ -28,7 +29,7 @@ namespace llvm {
}
// Prefix of the name of the artificial inline frame.
-#define CLANG_TRAP_PREFIX "__clang_trap_msg"
+inline constexpr llvm::StringRef CLANG_TRAP_PREFIX = "__clang_trap_msg";
----------------
dwblaikie wrote:
The name should be changed to use the usual variable/constant naming convention (ClangTrapPrefix, I think, in this case).
https://github.com/llvm/llvm-project/pull/79230
More information about the cfe-commits
mailing list