summaryrefslogtreecommitdiffstats
path: root/include/clang/Sema/CodeCompleteConsumer.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-10-17 21:17:53 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-10-17 21:17:53 +0000
commitabd2a3e8bc251a693d4d09819fd76f2e482c21ff (patch)
treecd6010ddaaf71d935c3a828571a74b735fd9c89d /include/clang/Sema/CodeCompleteConsumer.h
parent6ec96438ede86b1a00f80dff25027f5a876613a8 (diff)
Code completion chunks are pod-like.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142252 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/CodeCompleteConsumer.h')
-rw-r--r--include/clang/Sema/CodeCompleteConsumer.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/clang/Sema/CodeCompleteConsumer.h b/include/clang/Sema/CodeCompleteConsumer.h
index 9e2d60d3e0..69003d0b4e 100644
--- a/include/clang/Sema/CodeCompleteConsumer.h
+++ b/include/clang/Sema/CodeCompleteConsumer.h
@@ -501,7 +501,17 @@ public:
return CopyString(StringRef(String));
}
};
-
+
+} // end namespace clang
+
+namespace llvm {
+ template <> struct isPodLike<clang::CodeCompletionString::Chunk> {
+ static const bool value = true;
+ };
+}
+
+namespace clang {
+
/// \brief A builder class used to construct new code-completion strings.
class CodeCompletionBuilder {
public: