When emitting a single function with cppgen=function, you don't want to emit
authorNicolas Geoffray <nicolas.geoffray@lip6.fr>
Sun, 28 Nov 2010 18:00:53 +0000 (18:00 +0000)
committerNicolas Geoffray <nicolas.geoffray@lip6.fr>
Sun, 28 Nov 2010 18:00:53 +0000 (18:00 +0000)
commit7509ccda930156d44f83b4b40eef077e93313091
tree5f3feb0be214ec3ddd418eac35bc191820912295
parentea4afa91eb453323948588ad1e1706d842fb9007
When emitting a single function with cppgen=function, you don't want to emit
initializers of global variables used in the function.
Also make sure to emit the operands of a constant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120253 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/CppBackend/CPPBackend.cpp