[PATCH] D86751: Add new warning for compound punctuation tokens that are split across macro expansions or split by whitespace.
Samuel Benzaquen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 28 06:41:17 PDT 2020
sbenza accepted this revision.
sbenza added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/test/Parser/compound-token-split.cpp:30
+
+[ // expected-warning-re {{{{^}}'[' tokens introducing attribute appear in different source files}}
+#define LSQUARE
----------------
Does this count as a "different" source file?
Or is it just an implementation detail of how clang uses FileIDs ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86751/new/
https://reviews.llvm.org/D86751
More information about the cfe-commits
mailing list