ilya-biryukov added inline comments.
================ Comment at: clang/include/clang/Lex/Preprocessor.h:120 +/// callback that records tokens. +enum class TokenSource { + File, // a token coming directly from a file that is not a macro directive, ---------------- This is supposed to provide enough information to distinguish token from an intermediate macro expansion from a token of a final expanded stream. It's not very well thought-through, though, the final set of enum values will definitely end up being different. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D59885/new/ https://reviews.llvm.org/D59885 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits