summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-19 07:49:14 +0000
committerChris Lattner <sabre@nondot.org>2008-11-19 07:49:14 +0000
commit49c017f4ea6f5795403cb23896a8b6cf4ef5ef6e (patch)
tree634c52df4e65095e50a38fcadfc4c814142aefc9 /clang/lib/CodeGen/CodeGenModule.cpp
parent66e3877b42fea73fde704c45ad340b13516b7e84 (diff)
downloadbcm5719-llvm-49c017f4ea6f5795403cb23896a8b6cf4ef5ef6e.tar.gz
bcm5719-llvm-49c017f4ea6f5795403cb23896a8b6cf4ef5ef6e.zip
add a new helper method. It is unclear to me why this doesn't work, but GCC
won't match it: template<std::size_t StrLen> bool isName(const char Str[StrLen]) const { return getLength() == StrLen-1 && !memcmp(getName(), Str, StrLen-1); } llvm-svn: 59605
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud