This is an archive of the discontinued LLVM Phabricator instance.

[Lex] TokenConcatenation now takes const Preprocessor
ClosedPublic

Authored by Szelethus on Sep 25 2018, 8:50 AM.

Diff Detail

Event Timeline

Szelethus created this revision.Sep 25 2018, 8:50 AM
dblaikie accepted this revision.Sep 25 2018, 8:54 AM

any particular motivation for this? But looks fine to me in any case.

This revision is now accepted and ready to land.Sep 25 2018, 8:54 AM

Thanks!

any particular motivation for this?

I'm currently trying to include macro expansions in the Static Analyzer's plist output, and I only managed to make this happen by some Token handling hackery, including printing them. I saw this trick in lib/Rewrite/HTMLRewrite.cpp.

This revision was automatically updated to reflect the committed changes.
Szelethus added inline comments.Sep 27 2018, 5:52 AM
cfe/trunk/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObject.h
82–84 ↗(On Diff #167301)

Commited accidentally, removed in rC343205.