summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTestSelective.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2015-10-28 00:17:34 +0000
committerJohn McCall <rjmccall@apple.com>2015-10-28 00:17:34 +0000
commita62c1a94c1198cec0e3dc317e6ae88fc7057da66 (patch)
tree16c96bbdb1c9ae69110822ea04f921efd46ab0a7 /clang/unittests/Format/FormatTestSelective.cpp
parent55fbb6d7f53c543ffe803bbed6f0c441911287d2 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud