aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2017-10-26 08:41:28 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2017-10-26 08:41:28 +0000
commite3962aebca1e2b7e402c97e54a253738fe6a95d3 (patch)
tree3e0979bc9ca49954e72a76096f1767444361c452 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentd2825825f8cd8b692d42075dfbc9f8195765e278 (diff)
downloadllvm-e3962aebca1e2b7e402c97e54a253738fe6a95d3.zip
llvm-e3962aebca1e2b7e402c97e54a253738fe6a95d3.tar.gz
llvm-e3962aebca1e2b7e402c97e54a253738fe6a95d3.tar.bz2
Fix overloaded static functions in SemaCodeComplete
https://bugs.llvm.org/show_bug.cgi?id=33904 Happens when static function is accessed via the class variable. That leads to incorrect overloads number because the variable is considered as the first argument. struct Bar { static void foo(); static void foo(int); }; int main() { Bar b; b.foo(/*complete here*/); // did not work before Bar::foo(/*complete here*/); // worked fine } Patch by Ivan Donchevskii! Differential Revision: https://reviews.llvm.org/D36390 llvm-svn: 316646
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions