[clang-tools-extra] r315284 - [clangd] Fix compilation on gcc.
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 10 01:40:57 PDT 2017
Author: ibiryukov
Date: Tue Oct 10 01:40:57 2017
New Revision: 315284
URL: http://llvm.org/viewvc/llvm-project?rev=315284&view=rev
Log:
[clangd] Fix compilation on gcc.
Modified:
clang-tools-extra/trunk/clangd/Function.h
Modified: clang-tools-extra/trunk/clangd/Function.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/Function.h?rev=315284&r1=315283&r2=315284&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/Function.h (original)
+++ clang-tools-extra/trunk/clangd/Function.h Tue Oct 10 01:40:57 2017
@@ -106,8 +106,8 @@ private:
public:
template <class... RestArgs>
auto operator()(RestArgs &&... Rest)
- -> decltype(CallImpl(llvm::index_sequence_for<Args...>(),
- std::forward<RestArgs>(Rest)...)) {
+ -> decltype(this->CallImpl(llvm::index_sequence_for<Args...>(),
+ std::forward<RestArgs>(Rest)...)) {
#ifndef NDEBUG
assert(!WasCalled && "Can only call result of BindWithForward once.");
More information about the cfe-commits
mailing list