summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-06 08:53:59 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-06 08:53:59 +0000
commitc3c55214242d9392d5dc63b66863f6a9dd1c4e41 (patch)
tree97243c5eb6851456f2676bddd09545e0a52d356d /include
parentcdb21a9e4903bae623f3cf12887906af65caa6da (diff)
downloadllvm-c3c55214242d9392d5dc63b66863f6a9dd1c4e41.tar.gz
llvm-c3c55214242d9392d5dc63b66863f6a9dd1c4e41.tar.bz2
llvm-c3c55214242d9392d5dc63b66863f6a9dd1c4e41.tar.xz
Deprecate constructors we don't want users to use.
Temporarily comment out two interface methods we might not implement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Bytecode/Archive.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/llvm/Bytecode/Archive.h b/include/llvm/Bytecode/Archive.h
index 7f1333e8bc..5e202011ec 100644
--- a/include/llvm/Bytecode/Archive.h
+++ b/include/llvm/Bytecode/Archive.h
@@ -66,6 +66,13 @@ class Archive {
const sys::Path& Filename ///< Name of archive file
);
+#if 0
+
+This interface severely complicates the
+Archive class. Its commented out until
+a final determination is made of whether
+we will support adding modules or not.
+
/// Create a new archive file, \p Filename, from the LLVM modules \p Modules.
/// The module's externally visible linkage symbols will be added to the
/// archive's symbol table. The names of the file members will be obtained
@@ -83,6 +90,7 @@ class Archive {
const ModuleList& Modules, ///< Modules to be put in archive
const std::string& StripName="" ///< Prefix to strip from member names
);
+#endif
/// Create a new archive file, \p Filename, from a set of existing \p Files.
/// Each entry in \p Files will be added to the archive. If any file is an
@@ -225,6 +233,13 @@ class Archive {
const std::string& StripName="" ///< Prefix path to strip from names
);
+#if 0
+
+This interface severely complicates the
+Archive class. Its commented out until
+a final determination is made of whether
+we will support adding modules or not.
+
/// Add a set of Modules to the archive. Names of member files will
/// be taken from the Module identifier (Module::getModuleIdentifier) if it
/// is unique. Non-unique member names will be made unique by appending a
@@ -242,6 +257,7 @@ class Archive {
const ModuleList& Modules, ///< The modules to add to the archive
const std::string& StripName="" ///< Prefix path to strip from names
);
+#endif
/// @}
/// @name Data
@@ -250,6 +266,13 @@ class Archive {
class ArchiveInternals;
ArchiveInternals* impl; ///< Implementation class
/// @}
+ /// @name Hidden
+ /// @{
+ private:
+ Archive(); ///< Do not implement
+ Archive(const Archive&); ///< Do not implement
+ Archive& operator=(const Archive&); ///< Do not implement
+ /// @}
};
} // End llvm namespace