summaryrefslogtreecommitdiffstats
path: root/clang/docs/InternalsManual.rst
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-01-20 18:42:10 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-01-20 18:42:10 +0000
commitb39a9b8b0cc7eceea47bcd58738c07128e76ba7f (patch)
tree90d4437c20de0aaf8b01a65be97072297c7d6144 /clang/docs/InternalsManual.rst
parentfb00d5bc7ccc49890c39a3896cbb0666f599211b (diff)
downloadbcm5719-llvm-b39a9b8b0cc7eceea47bcd58738c07128e76ba7f.tar.gz
bcm5719-llvm-b39a9b8b0cc7eceea47bcd58738c07128e76ba7f.zip
Adding a bit of documentation that was missed with r198883 (when ParseArgumentsAsUnevaluated was added).
llvm-svn: 199679
Diffstat (limited to 'clang/docs/InternalsManual.rst')
-rw-r--r--clang/docs/InternalsManual.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/docs/InternalsManual.rst b/clang/docs/InternalsManual.rst
index eb19614e55d..96d43ab57dc 100644
--- a/clang/docs/InternalsManual.rst
+++ b/clang/docs/InternalsManual.rst
@@ -1718,6 +1718,11 @@ duplicated. However, if an attribute can be duplicated during this merging
stage, set ``DuplicatesAllowedWhileMerging`` to ``1``, and the attribute will
be merged.
+By default, attribute arguments are parsed in an evaluated context. If the
+arguments for an attribute should be parsed in an unevaluated context (akin to
+the way the argument to a ``sizeof`` expression is parsed), you can set
+``ParseArgumentsAsUnevaluated`` to ``1``.
+
If additional functionality is desired for the semantic form of the attribute,
the ``AdditionalMembers`` field specifies code to be copied verbatim into the
semantic attribute class object.
OpenPOWER on IntegriCloud