summaryrefslogtreecommitdiffstats
path: root/clang/lib/Tooling/CustomToolInit.h
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2012-07-18 12:24:51 +0000
committerAlexander Kornienko <alexfh@google.com>2012-07-18 12:24:51 +0000
commitdf36746d52221df1854090d6a11326f486c87bc5 (patch)
tree972f94cbea46a68f47f2a951e0a050d38dec5b72 /clang/lib/Tooling/CustomToolInit.h
parent5f8d8eb69200b6993bf22d67debab4e46d034d2d (diff)
downloadbcm5719-llvm-df36746d52221df1854090d6a11326f486c87bc5.tar.gz
bcm5719-llvm-df36746d52221df1854090d6a11326f486c87bc5.zip
Reverted custom init hook from r160369.
llvm-svn: 160432
Diffstat (limited to 'clang/lib/Tooling/CustomToolInit.h')
-rw-r--r--clang/lib/Tooling/CustomToolInit.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/clang/lib/Tooling/CustomToolInit.h b/clang/lib/Tooling/CustomToolInit.h
deleted file mode 100644
index 745edbe4842..00000000000
--- a/clang/lib/Tooling/CustomToolInit.h
+++ /dev/null
@@ -1,35 +0,0 @@
-//===--- CustomToolInit.h -------------------------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file contains a hook to supply a custom tool initialization routine.
-//
-// The mechanism can be used by IDEs or non-public code bases to integrate with
-// their build system. Currently we support statically linking in an
-// implementation of \c customToolInit and enabling it with
-// -DUSE_CUSTOM_TOOL_INIT when compiling the Tooling library.
-//
-//===----------------------------------------------------------------------===//
-#ifndef LLVM_CLANG_TOOLING_CUSTOM_TOOL_INIT_H
-#define LLVM_CLANG_TOOLING_CUSTOM_TOOL_INIT_H
-
-namespace clang {
-namespace tooling {
-
-/// \brief Performs a custom initialization of a tool.
-///
-/// This function provides a hook for custom initialization of a clang tool. It
-/// receives command-line arguments and can change them if needed.
-/// If the initialization fails (say, custom command-line arguments are invalid)
-/// this function should terminate the process.
-void customToolInit(int argc, const char **argv);
-
-} // namespace tooling
-} // namespace clang
-
-#endif // LLVM_CLANG_TOOLING_CUSTOM_TOOL_INIT_H
OpenPOWER on IntegriCloud