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."); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits