]> granicus.if.org Git - clang/commit
Improve handling of __FUNCTION__ and other predefined expression for Objective-C...
authorMehdi Amini <mehdi.amini@apple.com>
Tue, 15 Nov 2016 21:47:11 +0000 (21:47 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Tue, 15 Nov 2016 21:47:11 +0000 (21:47 +0000)
commit2162976a4137255b24a8a3209e001fc89248a707
treed77429030912aacea31e1c0b6590f0a4bfedabde
parent42ca880668c03c612a87612a2faa9ba7ec4bef87
Improve handling of __FUNCTION__ and other predefined expression for Objective-C Blocks

Instead of always displaying the mangled name, try to do better
and get something closer to regular functions.

Differential Revision: https://reviews.llvm.org/D26522

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@287039 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Expr.cpp
lib/CodeGen/CGExpr.cpp
test/CodeGen/block-with-perdefinedexpr.cpp [new file with mode: 0644]
test/CodeGenCXX/predefined-expr-cxx14.cpp