================
@@ -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,
----------------
cor3ntin wrote:

That was i did initially but it was strictly worse. Different diags, different 
constraints... I'm happy with a different name though, if you want

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