commit | 27a00970bf4ababdc115e54383e6252cc3276dfa | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat May 05 04:20:28 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat May 05 04:20:28 2012 +0000 |
tree | 7cf3a0cd7845b5c8b909b047108e54f7a15b747f | |
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