summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCleanup.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-05-05 04:20:28 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-05-05 04:20:28 +0000
commitbbff3da6225e16ca40b894c503ceea4644b3baf0 (patch)
treea3cc11cb6b2d5e9eb5ff315ac8f5a502bcd8c5ec /clang/lib/CodeGen/CGCleanup.cpp
parentde9e92ed9b96ebe2769cd7d3e02af6ae2a5d9a40 (diff)
downloadbcm5719-llvm-bbff3da6225e16ca40b894c503ceea4644b3baf0.tar.gz
bcm5719-llvm-bbff3da6225e16ca40b894c503ceea4644b3baf0.zip
Make BuiltinType::getName return a StringRef and introduce BuiltinType::getNameAsCString
to get a const char* if necessary. This avoids unnecessary conversions when we want to use the result of getName as a StringRef. Part of rdar://10796159 llvm-svn: 156227
Diffstat (limited to 'clang/lib/CodeGen/CGCleanup.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud