]> granicus.if.org Git - clang/commit
the logic for computing __func__ and friends is really broken:
authorChris Lattner <sabre@nondot.org>
Thu, 23 Apr 2009 05:30:27 +0000 (05:30 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 23 Apr 2009 05:30:27 +0000 (05:30 +0000)
commitb5437d238752dc297e42410e98d38d5250fe0463
tree696030a1604f8c0b1477de5a4cc82a4ca8933177
parent2f73cc46039a54208eca4da89886af9ed479f273
the logic for computing __func__ and friends is really broken:
the type assigned by sema (and is visible with sizeof(__func__) for
example) has nothing to do with what codegen ends up producing.
We should eventually add a method on PredefinedExpr to handle this.
In the meantime, just set up some framework and add some fixme's.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69872 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h