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

It requires making `isInCodeFile` a non-static member function. I wasn't 
convinced in the utility of that (see @steakhal comments), but it isn't clear 
cut and given two reviewers consider it more readable, here you go:

e7ae092fc7c4 [NFC] Hide UnityBuildFileExtensions field, remove isInCodeFile 
overload

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