================
@@ -2380,6 +2380,11 @@ Preprocessor::ImportAction
Preprocessor::HandleHeaderIncludeOrImport(
// error.
if (Filename.empty())
return {ImportAction::None};
+ if (Filename.ends_with(" ") || Filename.ends_with(".")) {
----------------
ameliajochna wrote:You're right. Thank you. Fixed https://github.com/llvm/llvm-project/pull/190610 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
