This revision was automatically updated to reflect the committed changes.
Closed by commit rC361986: [clang-format] Allow configuring list of
function-like macros that resolve to a… (authored by Typz, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D57184?vs=201395=201962#toc
dextero updated this revision to Diff 201395.
dextero added a comment.
- [clang-format] Change "types" -> "type declarations" in Format.h
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57184/new/
https://reviews.llvm.org/D57184
Files:
dextero updated this revision to Diff 201393.
dextero marked an inline comment as done.
dextero added a comment.
- [clang-format] Make documentation a bit clearer
- Rebased onto recent master
@Typz: thank you for the review! I don't have push access to the repository
though. Could you commit
Typz accepted this revision.
Typz added a comment.
This revision is now accepted and ready to land.
Actually, looking at all the other options, the same is true for all other
macro kind of macros (NamespaceMacros...).
Repository:
rC Clang
CHANGES SINCE LAST ACTION
Typz added a comment.
Herald added a project: clang.
Regarding variable/setting names, one issue I see is that these macros are not
really type //names// IMO : the macro name is just part of the type (like a
template), and its invocation is a type declaration. So maybe renaming to
`Typedecl`
dextero created this revision.
dextero added reviewers: Typz, krasimir, djasper.
Herald added a subscriber: cfe-commits.
Adds a `TypenameMacros` configuration option that causes certain identifiers to
be handled in a way similar to `typeof()`.
This is enough to:
- Prevent misinterpreting