================
@@ -1395,7 +1395,8 @@ IdentifierNamingCheck::getDeclFailureInfo(const NamedDecl 
*Decl,
     return std::nullopt;
 
   const SourceLocation Loc = Decl->getLocation();
-  const FileStyle &FileStyle = getStyleForFile(SM.getFilename(Loc));
+  const SourceLocation ConfigLoc = SM.getSpellingLoc(Loc);
----------------
vbvictor wrote:

Why is this called config loc? It seems that it's spelling loc of decl, not 
some config.

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

Reply via email to