[cfe-dev] Design: clang-format

SimonHF simonhf at gmail.com
Thu May 31 16:57:23 PDT 2012


There's an interesting paper here
https://mailserver.di.unipi.it/ricerca/proceedings/ETAPS05/ldta/ldta2005_p02.pdf
(nothing to do with clang) which refers to something called the LL-AST where
LL means 'literal layout'. Is that what is meant by 'full AST'?

This might be a bit tricky since the AST doesn't have the whitespace,
comment, and macro info in it :-( Maybe have to match it up somehow with
-dump-raw-tokens?

Lastly, function definitions don't seem to get handled very well by
-ast-dump; they just seem to get pretty printed :-( How to workaround that
limitation?

--
View this message in context: http://clang-developers.42468.n3.nabble.com/Design-clang-format-tp3980439p4024229.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list