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 checks the presence of this pragma in pre-processor output.
Details
Details
- Reviewers
efriedma rsmith hfinkel - Commits
- rG16fee0841002: [Preprocessor] Preserve #pragma clang assume_nonnull in preprocessed output
rC314364: [Preprocessor] Preserve #pragma clang assume_nonnull in preprocessed output
rL314364: [Preprocessor] Preserve #pragma clang assume_nonnull in preprocessed output
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
It looks like you uploaded a diff against the previous version of the patch instead of trunk?
Comment Actions
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.
Comment Actions
Eli, if you have trouble committing this please let me know. Not sure what is happening.