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

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 2 08:04:12 PDT 2018


Anastasia updated this revision to Diff 144885.
Anastasia added a comment.

The best way of adding common helper function I could come up with. The problem is that string literals are created quite differently all over: using various char types and const qualifiers. That seems to cover the most common case now.


https://reviews.llvm.org/D46049

Files:
  include/clang/AST/ASTContext.h
  lib/AST/ASTContext.cpp
  lib/AST/Expr.cpp
  lib/Sema/SemaExpr.cpp
  test/SemaOpenCL/predefined-expr.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46049.144885.patch
Type: text/x-patch
Size: 5750 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180502/94223581/attachment.bin>


More information about the cfe-commits mailing list