This revision was automatically updated to reflect the committed changes.
Closed by commit rGd7354fb63471: Keep multiple-include optimization for null
directives (authored by IncludeGuardian, committed by aaron.ballman).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://r
IncludeGuardian updated this revision to Diff 517310.
IncludeGuardian added a comment.
Rebase on upstream to resolve conflicts in release notes
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147928/new/
https://reviews.llvm.org/D147928
Files:
clang/docs/ReleaseNotes.rst
clang/includ
IncludeGuardian added a comment.
@aaron.ballman If you could commit for me that would be great. Please use
"Elliot Goodrich" for the name and "elliotgoodr...@gmail.com" for the email -
thank you!
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147928/new/
https://reviews.llvm.org/D14792
IncludeGuardian updated this revision to Diff 517291.
IncludeGuardian added a comment.
Update Clang release notes
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147928/new/
https://reviews.llvm.org/D147928
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Lex/MultipleIncludeOpt
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM, though please add a release note to `clang/docs/ReleaseNotes.rst` for the
fix. Do you need me to commit on your behalf? If so, please let me know what
name and email addres
IncludeGuardian updated this revision to Diff 514849.
IncludeGuardian added a comment.
Replace `ResetReadToken` with `SetReadToken` to avoid a conditional
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147928/new/
https://reviews.llvm.org/D147928
Files:
clang/include/clang/Lex/Multipl
IncludeGuardian added inline comments.
Comment at: clang/lib/Lex/PPDirectives.cpp:1183-1185
+if (!ReadAnyTokensBeforeDirective) {
+ CurPPLexer->MIOpt.ResetReadToken();
+}
aaron.ballman wrote:
> NFC but matches our style guide.
>
> One thing to consi
aaron.ballman added inline comments.
Comment at: clang/lib/Lex/PPDirectives.cpp:1183-1185
+if (!ReadAnyTokensBeforeDirective) {
+ CurPPLexer->MIOpt.ResetReadToken();
+}
NFC but matches our style guide.
One thing to consider: making the call a setter
IncludeGuardian added a comment.
Differences between the behaviors of compilers can be found here
https://github.com/IncludeGuardian/multiple-inclusion-optimization-tests
You can see the number of boost preprocessor files failing the include guard
optimization when running IncludeGuardian
IncludeGuardian created this revision.
IncludeGuardian added a reviewer: clang.
IncludeGuardian added a project: clang.
Herald added a project: All.
IncludeGuardian requested review of this revision.
Herald added a subscriber: cfe-commits.
The multiple-include optimization allows Clang to avoid op
10 matches
Mail list logo