[PATCH] D46049: [OpenCL] Add constant address space to __func__ in AST

Alexey Bader via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 25 07:05:48 PDT 2018


bader added inline comments.


================
Comment at: lib/Sema/SemaExpr.cpp:3059
                                            /*IndexTypeQuals*/ 0);
       SL = StringLiteral::Create(Context, Str, StringLiteral::Ascii,
                                  /*Pascal*/ false, ResTy, Loc);
----------------
Will it work if we fix this issue inside StringLiteral::Create method?
I just hope it will help us avoid code duplication.


https://reviews.llvm.org/D46049





More information about the cfe-commits mailing list