================
@@ -701,6 +705,9 @@ class LangOptions : public LangOptionsBase {
/// builtin because a -fno-builtin-* option has been specified?
bool isNoBuiltinFunc(StringRef Name) const;
+ /// Returns true if \p MangledName is listed in -mloadtime-comment-vars=.
+ bool isLoadTimeCommentVar(StringRef MangledName) const;
+
----------------
hubert-reinterpretcast wrote:
Since `LoadTimeCommentVars` is used directly in the only caller of this
accessor, I think its presence buys us nothing except unnecessary indirection.
https://github.com/llvm/llvm-project/pull/187986
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits