]> granicus.if.org Git - clang/commitdiff
copying and assignment of sema seem unwise :)
authorChris Lattner <sabre@nondot.org>
Tue, 17 Feb 2009 00:58:30 +0000 (00:58 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 17 Feb 2009 00:58:30 +0000 (00:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64712 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/Sema.h

index a96618f5a93262d87eca82b78a4418a7b2371049..3475b2dadaecb5f99f0c5da1bbd881172e496abb 100644 (file)
@@ -110,6 +110,8 @@ public:
 
 /// Sema - This implements semantic analysis and AST building for C.
 class Sema : public Action {
+  Sema(const Sema&);           // DO NOT IMPLEMENT
+  void operator=(const Sema&); // DO NOT IMPLEMENT
 public:
   const LangOptions &LangOpts;
   Preprocessor &PP;