================
@@ -174,6 +175,29 @@ SourceLocation nameLocation(const clang::Decl &D, const 
SourceManager &SM) {
   return SM.getExpansionLoc(L);
 }
 
+// Expects Loc to be a SpellingLocation, will bail out otherwise as it can't
----------------
HighCommander4 wrote:

nit: please move the comment to the declaration, since it's describing a 
requirement of the function's interface

https://github.com/llvm/llvm-project/pull/86629
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to