[clang] [ObjC][Preprocessor] Handle @import directive as a pp-directive (PR #157726)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 14 11:10:03 PDT 2025


================
@@ -947,6 +940,10 @@ bool Scanner::lexPPLine(const char *&First, const char *const End) {
   auto ScEx2 = make_scope_exit(
       [&]() { TheLexer.setParsingPreprocessorDirective(false); });
 
+  // FIXME: Shoule we handle @import as a preprocessing directive?
----------------
yronglin wrote:

Good catch, we should remove this comments

https://github.com/llvm/llvm-project/pull/157726


More information about the cfe-commits mailing list