================
@@ -1599,6 +1599,21 @@ static bool GetLineValue(Token &DigitTok, unsigned &Val,
   return false;
 }
 
+// Unlike header-names, line directive only support filenames in double quotes
+// but does support empty filenames.
+static void GetFilenameSpellingForLineDirective(const Preprocessor &PP,
----------------
yronglin wrote:

nit: This looks very similer to `Preprocessor::GetIncludeFilenameSpelling`. Do 
we need to merge it into the existing function? Or rename it to 
`GetLineDirectiveFilenameSpelling`?

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

Reply via email to