This revision was automatically updated to reflect the committed changes.
Closed by commit rL314364: [Preprocessor] Preserve #pragma clang assume_nonnull
in preprocessed output (authored by efriedma).
Changed prior to commit:
https://reviews.llvm.org/D37861?vs=115838&id=116903#toc
Repository:
efriedma added a comment.
Oops, sorry, lost track of it; I'll commit it today.
https://reviews.llvm.org/D37861
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
zibi added a comment.
Eli, if you have trouble committing this please let me know. Not sure what is
happening.
https://reviews.llvm.org/D37861
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cf
zibi added a comment.
Yes, please do the commit, thank you.
In https://reviews.llvm.org/D37861#878194, @efriedma wrote:
> LGTM.
>
> Do you want me to commit this for you?
https://reviews.llvm.org/D37861
___
cfe-commits mailing list
cfe-commits@
efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.
LGTM.
Do you want me to commit this for you?
https://reviews.llvm.org/D37861
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://
zibi added a comment.
ping
https://reviews.llvm.org/D37861
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
zibi added a comment.
Please be aware that I don't have the commit permission yet since this is my
first patch. I will rely on somebody to push it to the trunk.
https://reviews.llvm.org/D37861
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
zibi updated this revision to Diff 115838.
zibi added a comment.
original + review changes
https://reviews.llvm.org/D37861
Files:
include/clang/Lex/PPCallbacks.h
lib/Frontend/PrintPreprocessedOutput.cpp
lib/Lex/Pragma.cpp
test/Preprocessor/pragma_assume_nonnull.c
Index: test/Preprocess
efriedma added a comment.
It looks like you uploaded a diff against the previous version of the patch
instead of trunk?
https://reviews.llvm.org/D37861
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/li
zibi marked 2 inline comments as done.
zibi added a comment.
Good catch, thank you. I submitted a new patch.
https://reviews.llvm.org/D37861
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c
zibi updated this revision to Diff 115643.
zibi added a comment.
Addressing the review.
https://reviews.llvm.org/D37861
Files:
lib/Frontend/PrintPreprocessedOutput.cpp
test/Preprocessor/pragma_assume_nonnull.c
Index: test/Preprocessor/pragma_assume_nonnull.c
==
efriedma added inline comments.
Comment at: lib/Frontend/PrintPreprocessedOutput.cpp:566
+ MoveToLine(Loc);
+ OS << "#pragma " << "clang assume_nonnull end";
+ setEmittedDirectiveOnThisLine();
Extra "<<"?
Comment at: test/Preprocessor/pragma
zibi created this revision.
Herald added subscribers: kbarton, nemanjai.
When #pragma clang assume_nonnull begin || end is present in the source it is
completely gone from pre-processed output when compiled with -E or -P. This
patch make sure the pragma is preserved. I included 1 test case which
13 matches
Mail list logo