[clang] [NFC] Optimize file kind determination (PR #139492)
via cfe-commits
cfe-commits at lists.llvm.org
Sun May 11 23:28:34 PDT 2025
================
@@ -1529,6 +1529,15 @@ class SourceManager : public RefCountedBase<SourceManager> {
return Filename == "<scratch space>";
}
+ /// Returns whether \p Loc is located in a built-ins or command line sources.
----------------
cor3ntin wrote:
```suggestion
/// Returns whether \p Loc is located in a built-in or command line source.
```
https://github.com/llvm/llvm-project/pull/139492
More information about the cfe-commits
mailing list