[clang] [clang][Dependency Scanning] Fix the In-Memory Buffer Used for By-Name Scanning (PR #183396)

Thurston Dang via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 6 20:24:28 PST 2026


thurstond wrote:

ASan doesn't like

```
static const std::string
    FakeInput(" ",
              clang::tooling::CompilerInstanceWithContext::MaxNumOfQueries);
```
in clang/lib/Tooling/DependencyScanningTool.cpp

(minimized snippet: https://godbolt.org/z/1daYPr7ob)

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


More information about the cfe-commits mailing list