[clang] [clang][analyzer] Forward CTU-import failure conditions (PR #189064)
Arseniy Zaostrovnykh via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 31 08:54:06 PDT 2026
================
@@ -649,13 +734,23 @@ CrossTranslationUnitContext::ASTLoader::loadFromSource(
}
llvm::Expected<InvocationListTy>
-parseInvocationList(StringRef FileContent, llvm::sys::path::Style PathStyle) {
+parseInvocationList(StringRef FileContent, llvm::sys::path::Style PathStyle,
+ StringRef FilePath) {
InvocationListTy InvocationList;
/// LLVM YAML parser is used to extract information from invocation list file.
llvm::SourceMgr SM;
llvm::yaml::Stream InvocationFile(FileContent, SM);
+ auto getLine = [&SM](const llvm::yaml::Node *N) -> int {
----------------
necto wrote:
3b75fe10bfaa [NFC] Correct variable capitalization
https://github.com/llvm/llvm-project/pull/189064
More information about the cfe-commits
mailing list