================
@@ -124,10 +127,22 @@ class AnalysisManager : public BugReporterData {
     return AnaCtxMgr.getContext(D);
   }
 
-  static bool isInCodeFile(SourceLocation SL, const SourceManager &SM) {
+  ArrayRef<StringRef> getUnityBuildFileExtensions() const {
----------------
benedekaibas wrote:

Is it possible to get `UnityBuildFileExtensions` in 
`resetDiagnosticLocationToMainFile` without the need of this function? This 
function is only called at one place, so I am wondering if we can remove it 
somehow.

https://github.com/llvm/llvm-project/pull/242339
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to