Skip to content
Commit bbff3da6 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

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
parent de9e92ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment