[all-commits] [llvm/llvm-project] cf5362: Reapply "[ObjC][Preprocessor] Handle @import direc...
yronglin via All-commits
all-commits at lists.llvm.org
Wed Apr 15 16:53:22 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cf536231f0be2cdc3d57172a4dfa6e116c550fb6
https://github.com/llvm/llvm-project/commit/cf536231f0be2cdc3d57172a4dfa6e116c550fb6
Author: yronglin <yronglin777 at gmail.com>
Date: 2026-04-16 (Thu, 16 Apr 2026)
Changed paths:
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/include/clang/Frontend/CompilerInstance.h
M clang/include/clang/Lex/Preprocessor.h
M clang/lib/Frontend/CompilerInstance.cpp
M clang/lib/Lex/DependencyDirectivesScanner.cpp
M clang/lib/Lex/Lexer.cpp
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Lex/PPLexerChange.cpp
M clang/lib/Lex/Preprocessor.cpp
M clang/test/Modules/lookup.cpp
M clang/test/Modules/no-stale-modtime.m
A clang/test/Modules/objc-at-import.m
M clang/unittests/Lex/DependencyDirectivesScannerTest.cpp
M clang/utils/ClangVisualizers/clang.natvis
M lldb/test/Shell/Expr/TestClangModuleLoadError_FromExpression.test
Log Message:
-----------
Reapply "[ObjC][Preprocessor] Handle @import directive as a pp-directive" (#189174)
This PR reapply https://github.com/llvm/llvm-project/pull/157726.
Depends: https://github.com/llvm/llvm-project/pull/107168
This patch handle `@import` as a preprocessing directive, and since this
patch, the following import directive will be ill-formed:
```
@import Foo\n;
```
---------
Signed-off-by: yronglin <yronglin777 at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list