]> granicus.if.org Git - clang/commit
Adds a getSemanticSpelling function to semantic attribute subclasses which have a...
authorAaron Ballman <aaron@aaronballman.com>
Fri, 24 Jan 2014 21:32:49 +0000 (21:32 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 24 Jan 2014 21:32:49 +0000 (21:32 +0000)
commitb4aad1b48dcb1407091cd72645d78b773b315d23
treec8da204a7dbe9ba5da1515a3f628e34fc91f009b
parent38cdf2a5abaaf91bee1d2132fbd19d0e8d28cf56
Adds a getSemanticSpelling function to semantic attribute subclasses which have a meaningful semantic spelling. Adds a sibling function to parsed attribtues (via AttributeList) for getting the semantic spelling, if one were to exist. This can be used for cleaner code that deals directly with the semantic spellings (such as the MSInheritance attribute).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200041 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/AttributeList.h
lib/Sema/AttributeList.cpp
utils/TableGen/ClangAttrEmitter.cpp