https://llvm.org/bugs/show_bug.cgi?id=19117
Reid Kleckner <r...@google.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Reid Kleckner <r...@google.com> --- (In reply to comment #4) > + ExprResult Result = Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc, > Id, Info, > + IsUnevaluatedContext); > + Result = ParsePostfixExpressionSuffix(Result); > + if (!Result.isInvalid()) > + { > + Info.Size = > Actions.getASTContext().getTypeSize(Result.get()->getType()) / 8; > + Info.Type = Info.Size; > + } I think this is more or less the right way to go. I added something like it in r246088. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs