summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/annotate-attribute.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2017-10-16 23:25:24 +0000
committerErich Keane <erich.keane@intel.com>2017-10-16 23:25:24 +0000
commit3bff414cdeda54ba9a08921009b390b8ed8f306d (patch)
treed31ebc8ac8b4b8e9c3d3664da4e918b59908822c /clang/test/Index/annotate-attribute.cpp
parenta590c745496bdc8ff048945bb8949206b4a910f6 (diff)
downloadbcm5719-llvm-3bff414cdeda54ba9a08921009b390b8ed8f306d.tar.gz
bcm5719-llvm-3bff414cdeda54ba9a08921009b390b8ed8f306d.zip
Fix usage in TableGen of getValueAsString
Record::getValueAsString returns a stringref to an interned string (apparently had been changed since most of tablegen was written). In this patch, I audited the usage of getValueAsString to find places where we can trivially stop storing 'std::string' and instead keep the stringref. There was one instance where an unnecessary 'stringstream' was being used, so that has been removed as well to unblock the stringref replacing string fix. Differential Revision: https://reviews.llvm.org/D38979 llvm-svn: 315956
Diffstat (limited to 'clang/test/Index/annotate-attribute.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud