[all-commits] [llvm/llvm-project] 0b7e8c: [C++20][Modules] Quote header unit name in preproc...
Dmitry Polukhin via All-commits
all-commits at lists.llvm.org
Thu Oct 24 00:21:06 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0b7e8c25ece1ff0e0dc0b7d283600b49498e8162
https://github.com/llvm/llvm-project/commit/0b7e8c25ece1ff0e0dc0b7d283600b49498e8162
Author: Dmitry Polukhin <34227995+dmpolukhin at users.noreply.github.com>
Date: 2024-10-24 (Thu, 24 Oct 2024)
Changed paths:
M clang/lib/Frontend/PrintPreprocessedOutput.cpp
M clang/lib/Lex/TokenConcatenation.cpp
A clang/test/Headers/header_unit_preprocessed_output.cpp
M clang/test/Modules/cxx20-include-translation.cpp
Log Message:
-----------
[C++20][Modules] Quote header unit name in preprocessor output (-E) (#112883)
Summary:
Before this change clang produced output with header unit names that may
conaint path separators, dots and other non-identifier characters. This
diff prints header unit name in quotes and -E output can be compiled
again. Also remove unnecessary space between header unit name and semi.
Test Plan: check-clang
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