Author: sammccall Date: Fri Jun 15 05:39:21 2018 New Revision: 334824 URL: http://llvm.org/viewvc/llvm-project?rev=334824&view=rev Log: [clangd] context key constructor is constexpr. NFC
Modified: clang-tools-extra/trunk/clangd/Context.h Modified: clang-tools-extra/trunk/clangd/Context.h URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/Context.h?rev=334824&r1=334823&r2=334824&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/Context.h (original) +++ clang-tools-extra/trunk/clangd/Context.h Fri Jun 15 05:39:21 2018 @@ -43,7 +43,7 @@ public: static_assert(!std::is_reference<Type>::value, "Reference arguments to Key<> are not allowed"); - Key() = default; + constexpr Key() = default; Key(Key const &) = delete; Key &operator=(Key const &) = delete; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits