clang
3.7.0
|
#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. More... | |
static void | printModuleId (raw_ostream &OS, const ModuleId &Id) |
|
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(), HasFeature(), clang::TargetInfo::isTLSSupported(), and clang::LangOptions::ModuleFeatures.
Referenced by clang::Module::addRequirement(), and clang::Module::isAvailable().
|
static |
Definition at line 223 of file Basic/Module.cpp.
Referenced by clang::Module::print().