zibi marked an inline comment as done. zibi added inline comments.
================ Comment at: clang/test/SemaCXX/init-priority-attr.cpp:26 Two foo __attribute__((init_priority(101))) ( 5, 6 ); +#if defined(__MVS__) + #if defined(SYSTEM) ---------------- aaron.ballman wrote: > Rather than using the preprocessor, you can assign a prefix to be checked to > `-verify`. e.g., `-verify=unknown` would allow you to do `// unknown-warning > {{unknown attribute 'init_priority' ignored}}` or `unknown-no-diagnostics` > that is only checked when `-verify=unknown`. > > I wonder if it would be cleaner to use that solution here instead of the > preprocessor by adding a new RUN line that's specific to AIX, and setting > some non-AIX triples for the other run lines. That simplifies a lot in the expanse of duplicating the run. Thank you Aaron. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D91565/new/ https://reviews.llvm.org/D91565 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits