clang API Documentation
#include "clang/Basic/Module.h"#include "clang/Basic/FileManager.h"#include "clang/Basic/LangOptions.h"#include "clang/Basic/TargetInfo.h"#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringSwitch.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Functions | |
| static bool | hasFeature (StringRef Feature, const LangOptions &LangOpts, const TargetInfo &Target) |
| Determine whether a translation unit built using the current language options has the given feature. | |
| static void | printModuleId (raw_ostream &OS, const ModuleId &Id) |
| static bool hasFeature | ( | StringRef | Feature, |
| const LangOptions & | LangOpts, | ||
| const TargetInfo & | Target | ||
| ) | [static] |
Determine whether a translation unit built using the current language options has the given feature.
Definition at line 59 of file Basic/Module.cpp.
References clang::TargetInfo::hasFeature(), and clang::TargetInfo::isTLSSupported().
Referenced by clang::Module::addRequirement(), and clang::Module::isAvailable().
| static void printModuleId | ( | raw_ostream & | OS, |
| const ModuleId & | Id | ||
| ) | [static] |
Definition at line 200 of file Basic/Module.cpp.
Referenced by clang::Module::print().