[libcxx-commits] [libcxx] [libc++] Add a utility for checking the output of commands (PR #65917)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 2 08:47:15 PST 2025


================
@@ -36,9 +36,6 @@ class proper_version_checks_callbacks : public clang::PPCallbacks {
         clang::CharSourceRange::getTokenRange(condition_range),
         preprocessor_.getSourceManager(),
         preprocessor_.getLangOpts());
-    if (preprocessor_.getSourceManager().isInMainFile(location))
----------------
philnik777 wrote:

I have no idea what happened here. Reverted.

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


More information about the libcxx-commits mailing list