[LLVMbugs] [Bug 19000] New: Repeated AST node for attributes
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Feb 27 23:28:00 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=19000
Bug ID: 19000
Summary: Repeated AST node for attributes
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: abramo.bagnara at bugseng.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
$ cat z.c
void __attribute__((noinline,noreturn))
f(void);
$ _clang -cc1 -ast-dump z.c
TranslationUnitDecl 0x6630730 <<invalid sloc>>
|-TypedefDecl 0x6630c30 <<invalid sloc>> __int128_t '__int128'
|-TypedefDecl 0x6630c90 <<invalid sloc>> __uint128_t 'unsigned __int128'
|-TypedefDecl 0x6630fe0 <<invalid sloc>> __builtin_va_list
'__va_list_tag [1]'
`-FunctionDecl 0x6631120 <z.c:1:1, line:2:7> f 'void (void)
__attribute__((noreturn))'
|-NoInlineAttr 0x66311c0 <line:1:21>
`-NoInlineAttr 0x6631200 <col:21>
$ clang -cc1 -ast-print z.c
void f() __attribute__((noinline)) __attribute__((noinline));
The NoInlineAttr node is added twice.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140228/87f82a1f/attachment.html>
More information about the llvm-bugs
mailing list