[clangd] context key constructor is constexpr. NFC
authorSam McCall <sam.mccall@gmail.com>
Fri, 15 Jun 2018 12:39:21 +0000 (12:39 +0000)
committerSam McCall <sam.mccall@gmail.com>
Fri, 15 Jun 2018 12:39:21 +0000 (12:39 +0000)
llvm-svn: 334824

clang-tools-extra/clangd/Context.h

index 486b123..7e14f86 100644 (file)
@@ -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;