[cfe-commits] r142252 - /cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h
Benjamin Kramer
benny.kra at googlemail.com
Mon Oct 17 14:17:54 PDT 2011
Author: d0k
Date: Mon Oct 17 16:17:53 2011
New Revision: 142252
URL: http://llvm.org/viewvc/llvm-project?rev=142252&view=rev
Log:
Code completion chunks are pod-like.
Modified:
cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h
Modified: cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h?rev=142252&r1=142251&r2=142252&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h (original)
+++ cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h Mon Oct 17 16:17:53 2011
@@ -501,7 +501,17 @@
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:
More information about the cfe-commits
mailing list