[clang] [clang][tools] Handle weak (and duplicate) symbols in clang-extdef-mapping (PR #222010)

Arseniy Zaostrovnykh via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 9 04:49:11 PDT 2026


=?utf-8?q?Balázs_Kéri?= <balazs.keri at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/222010 at github.com>


================
@@ -190,12 +200,15 @@ static int HandleFiles(ArrayRef<std::string> SourceFiles,
     }
   }
 
+  int Ret = 0;
   if (!SourcesToBeParsed.empty()) {
----------------
necto wrote:

Is this condition necessary? What happens if `SourcesToBeParsed` is empty and we still run the tool?

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


More information about the cfe-commits mailing list