diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-05-05 04:20:28 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-05-05 04:20:28 +0000 |
commit | 27a00970bf4ababdc115e54383e6252cc3276dfa (patch) | |
tree | 7cf3a0cd7845b5c8b909b047108e54f7a15b747f /lib/Serialization/Module.cpp | |
parent | ab41fe914f63bb470dfa7e400876ada72f57a931 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/Module.cpp')
0 files changed, 0 insertions, 0 deletions