projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df2f4ef
)
[clangd] context key constructor is constexpr. NFC
author
Sam McCall
<sam.mccall@gmail.com>
Fri, 15 Jun 2018 12:39:21 +0000
(12:39 +0000)
committer
Sam 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
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clangd/Context.h
b/clang-tools-extra/clangd/Context.h
index
486b123
..
7e14f86
100644
(file)
--- a/
clang-tools-extra/clangd/Context.h
+++ b/
clang-tools-extra/clangd/Context.h
@@
-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;