diff options
author | Kevin Funk <kfunk@kde.org> | 2016-12-20 09:56:56 +0000 |
---|---|---|
committer | Kevin Funk <kfunk@kde.org> | 2016-12-20 09:56:56 +0000 |
commit | 4be5d6744399b9bd365adbce4097cb8380dc1147 (patch) | |
tree | 3cb36e86b215c2b31b3c9e744f55abef5bd85249 /clang/lib/CodeGen/CGExprComplex.cpp | |
parent | 67c3f3ec68f891166a822a33e694286b6913664f (diff) | |
download | bcm5719-llvm-4be5d6744399b9bd365adbce4097cb8380dc1147.tar.gz bcm5719-llvm-4be5d6744399b9bd365adbce4097cb8380dc1147.zip |
Fix for clang_Cursor_getSpellingNameRange()
Summary:
Fixes spelling name ranges for user-defined string literal operators.
Example:
constexpr int operator""_toint(unsigned long long val)
{ return int(val); }
Before this patch the spelling name range on consisted of 'operator'.
After this patch: 'operator""_toint'.
Related to http://reviews.llvm.org/D5041, which fixes the function for
other cursor kinds.
Reviewers: akyrtzi, craigt, skalinichev, klimek, milianw, bkramer
Subscribers: cfe-commits
Tags: #clang-c
Differential Revision: https://reviews.llvm.org/D18462
llvm-svn: 290172
Diffstat (limited to 'clang/lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions