Displaying 3 results from an estimated 3 matches for "attrparsedattrlist".
2016 Oct 25
2
[Help] Add custom pragma
....
}
As I want to define new attribute, I've tried to find where the definitions
for AT_LoopHint, AT_FallThrough are done. This is what I found.
class AttributeList @ tools/clang/include/clang/Sema/AttributeList.h
enum Kind{
#define PARSED ATTR(NAME) AT_##NAME,
#include "clang/Sema/AttrParsedAttrList.inc"
#undef PARSED_ATTR
IgnoredAttribute,
UnkownAttribute
};
It looks like those are defined at this enum, but there's no such file,
"clang/Sema/AttrParsedAttrList.inc".
Anyone knows how those definitions are defined and how the kind of
attributes are decided?
Thank yo...
2016 Oct 25
2
[Help] Add custom pragma
...ma/../../ -I /Users/vk/Desktop/llvm/tools/clang/include/clang/Sema
> -I /Users/vk/Desktop/llvm/lib/Target -I /Users/vk/Desktop/llvm/include
> /Users/vk/Desktop/llvm/tools/clang/include/clang/Sema/../Basic/Attr.td -o
> /Users/vk/Desktop/llvm/DA-NoModules/tools/clang/include/
> clang/Sema/AttrParsedAttrList.inc.tmp
>
> Try looking include/clang/Basic/Attr.td?
>
> best,
> vedant
>
> > On Oct 25, 2016, at 2:54 PM, Sunghyun Park via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> >
> > Hi, all.
> > I want to give programmer ability to tell LLVM that ce...
2016 Oct 25
0
[Help] Add custom pragma
...lang/include/clang/Sema/../../ -I /Users/vk/Desktop/llvm/tools/clang/include/clang/Sema -I /Users/vk/Desktop/llvm/lib/Target -I /Users/vk/Desktop/llvm/include /Users/vk/Desktop/llvm/tools/clang/include/clang/Sema/../Basic/Attr.td -o /Users/vk/Desktop/llvm/DA-NoModules/tools/clang/include/clang/Sema/AttrParsedAttrList.inc.tmp
>
> Try looking include/clang/Basic/Attr.td?
>
> best,
> vedant
>
> > On Oct 25, 2016, at 2:54 PM, Sunghyun Park via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> >
> > Hi, all.
> > I want to give programmer ability to tell LLVM that certa...