blob: 73f5d26f35c90c0c459fc432f58d046f5c39a1d7 (
plain) (
tree)
|
|
//===--- iwyu_driver.h - iwyu driver implementation -----------*- C++ -*---===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef INCLUDE_WHAT_YOU_USE_IWYU_DRIVER_H_
#define INCLUDE_WHAT_YOU_USE_IWYU_DRIVER_H_
namespace clang {
class CompilerInstance;
}
namespace include_what_you_use {
// Creates a CompilerInstance object based on the commandline
// arguments, or NULL if there's an error of some sort.
clang::CompilerInstance* CreateCompilerInstance(int argc, const char **argv);
} // namespace include_what_you_use
#endif // INCLUDE_WHAT_YOU_USE_IWYU_DRIVER_H_
|