diff options
author | John McCall <rjmccall@apple.com> | 2015-10-28 00:17:34 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2015-10-28 00:17:34 +0000 |
commit | a62c1a94c1198cec0e3dc317e6ae88fc7057da66 (patch) | |
tree | 16c96bbdb1c9ae69110822ea04f921efd46ab0a7 /clang/unittests/Format/FormatTestSelective.cpp | |
parent | 55fbb6d7f53c543ffe803bbed6f0c441911287d2 (diff) | |
download | bcm5719-llvm-a62c1a94c1198cec0e3dc317e6ae88fc7057da66.tar.gz bcm5719-llvm-a62c1a94c1198cec0e3dc317e6ae88fc7057da66.zip |
Add the ability to define "fake" arguments on attributes.
Fake arguments are automatically handled for serialization, cloning,
and other representational tasks, but aren't included in pretty-printing
or parsing (should we eventually ever automate that).
This is chiefly useful for attributes that can be written by the
user, but which are also frequently synthesized by the compiler,
and which we'd like to remember details of the synthesis for.
As a simple example, use this to narrow the cases in which we were
generating a specialized note for implicitly unavailable declarations.
llvm-svn: 251469
Diffstat (limited to 'clang/unittests/Format/FormatTestSelective.cpp')
0 files changed, 0 insertions, 0 deletions