clang 23.0.0git
Utils.h File Reference
#include "clang/ScalableStaticAnalysisFramework/Core/Serialization/SerializationFormatRegistry.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FormatVariadic.h"
#include <string>

Go to the source code of this file.

Classes

struct  clang::ssaf::SummaryFile

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::ssaf
namespace  clang::ssaf::ErrorMessages

Functions

llvm::StringRef clang::ssaf::getToolName ()
 Returns the name of the running tool, as set by initTool().
void clang::ssaf::fail (const char *Msg)
template<typename... Ts>
void clang::ssaf::fail (const char *Fmt, Ts &&...Args)
void clang::ssaf::fail (llvm::Error Err)
void clang::ssaf::loadPlugins (llvm::ArrayRef< std::string > Paths)
void clang::ssaf::initTool (int argc, const char **argv, llvm::StringRef Version, llvm::cl::OptionCategory &Category, llvm::StringRef ToolHeading)
 Sets ToolName, ToolVersion, and the version printer, hides unrelated command-line options, and parses arguments.

Variables

constexpr const char * clang::ssaf::ErrorMessages::CannotValidateSummary
constexpr const char * clang::ssaf::ErrorMessages::ExtensionNotSupplied = "Extension not supplied"
constexpr const char * clang::ssaf::ErrorMessages::NoFormatForExtension
constexpr const char * clang::ssaf::ErrorMessages::OutputDirectoryMissing
constexpr const char * clang::ssaf::ErrorMessages::FailedToLoadPlugin = "failed to load plugin '{0}': {1}"