/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallEvent.h | 26 #include "llvm/ADT/PointerIntPair.h" 120 llvm::PointerUnion<const Expr *, const Decl *> Origin; 136 template <typename T> friend struct llvm::IntrusiveRefCntPtrInfo; 354 typedef llvm::mapped_iterator<ArrayRef<ParmVarDecl*>::iterator, get_type_fun> 363 return llvm::map_iterator(parameters().begin(), 368 return llvm::map_iterator(parameters().end(), 643 typedef llvm::PointerIntPair<const MemRegion *, 1, bool> DtorDataTy; 900 llvm::BumpPtrAllocator &Alloc; 948 CallEventManager(llvm::BumpPtrAllocator &alloc) : Alloc(alloc) {} 1020 namespace llvm { namespace [all...] |
H A D | CheckerContext.h | 25 /// the ProgramState. This is implementing using llvm::ImmutableMap. 41 /// the ProgramState. This is implementing using llvm::ImmutableSet. 53 REGISTER_TRAIT_WITH_PROGRAMSTATE(Name, llvm::ImmutableSet<Elem>) 56 /// the ProgramState. This is implementing using llvm::ImmutableList. 67 REGISTER_TRAIT_WITH_PROGRAMSTATE(Name, llvm::ImmutableList<Elem>)
|
H A D | ConstraintManager.h | 19 #include "llvm/Support/SaveAndRestore.h" 21 namespace llvm { namespace 107 virtual const llvm::APSInt* getSymVal(ProgramStateRef state,
|
H A D | DynamicTypeInfo.h | 40 void Profile(llvm::FoldingSetNodeID &ID) const {
|
H A D | Environment.h | 19 #include "llvm/ADT/ImmutableMap.h" 43 static void Profile(llvm::FoldingSetNodeID &ID, 49 void Profile(llvm::FoldingSetNodeID &ID) const { 60 typedef llvm::ImmutableMap<EnvironmentEntry, SVal> BindingsTy; 81 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 87 void Profile(llvm::FoldingSetNodeID& ID) const { 108 EnvironmentManager(llvm::BumpPtrAllocator& Allocator) : F(Allocator) {}
|
H A D | ExplodedGraph.h | 27 #include "llvm/ADT/DepthFirstIterator.h" 28 #include "llvm/ADT/FoldingSet.h" 29 #include "llvm/ADT/GraphTraits.h" 30 #include "llvm/ADT/SmallPtrSet.h" 31 #include "llvm/ADT/SmallVector.h" 32 #include "llvm/Support/Allocator.h" 33 #include "llvm/Support/Casting.h" 54 class ExplodedNode : public llvm::FoldingSetNode { 162 static void Profile(llvm::FoldingSetNodeID &ID, 171 void Profile(llvm 443 namespace llvm { namespace [all...] |
H A D | FunctionSummary.h | 18 #include "llvm/ADT/DenseMap.h" 19 #include "llvm/ADT/DenseSet.h" 20 #include "llvm/ADT/Optional.h" 21 #include "llvm/ADT/SmallBitVector.h" 29 typedef llvm::DenseSet<const Decl*> SetOfConstDecls; 35 llvm::SmallBitVector VisitedBasicBlocks; 56 typedef llvm::DenseMap<const Decl *, FunctionSummary> MapTy; 96 llvm::SmallBitVector &Blocks = I->second.VisitedBasicBlocks;
|
H A D | MemRegion.h | 25 #include "llvm/ADT/FoldingSet.h" 26 #include "llvm/Support/Allocator.h" 27 #include "llvm/Support/ErrorHandling.h" 77 class MemRegion : public llvm::FoldingSetNode { 133 virtual void Profile(llvm::FoldingSetNodeID& ID) const = 0; 209 void Profile(llvm::FoldingSetNodeID &ID) const override; 243 void Profile(llvm::FoldingSetNodeID &ID) const override; 373 void Profile(llvm::FoldingSetNodeID &ID) const override; 463 void Profile(llvm::FoldingSetNodeID& ID) const override; 465 static void ProfileRegion(llvm 1356 namespace llvm { namespace [all...] |
H A D | ProgramState.h | 25 #include "llvm/ADT/FoldingSet.h" 26 #include "llvm/ADT/ImmutableMap.h" 27 #include "llvm/ADT/PointerIntPair.h" 28 #include "llvm/Support/Allocator.h" 30 namespace llvm { namespace 72 class ProgramState : public llvm::FoldingSetNode { 74 typedef llvm::ImmutableSet<llvm::APSInt*> IntSetTy; 75 typedef llvm::ImmutableMap<void*, void*> GenericDataMap; 132 static void Profile(llvm [all...] |
H A D | ProgramStateTrait.h | 21 #include "llvm/Support/Allocator.h" 22 #include "llvm/Support/DataTypes.h" 24 namespace llvm { namespace 59 struct ProgramStatePartialTrait< llvm::ImmutableMap<Key,Data,Info> > { 60 typedef llvm::ImmutableMap<Key,Data,Info> data_type; 88 static void *CreateContext(llvm::BumpPtrAllocator& Alloc) { 104 #define CLANG_ENTO_PROGRAMSTATE_MAP(Key, Value) llvm::ImmutableMap<Key, Value> 110 struct ProgramStatePartialTrait< llvm::ImmutableSet<Key,Info> > { 111 typedef llvm::ImmutableSet<Key,Info> data_type; 140 static void *CreateContext(llvm [all...] |
H A D | ProgramState_Fwd.h | 14 #include "llvm/ADT/IntrusiveRefCntPtr.h" 25 namespace llvm { namespace
|
H A D | SValBuilder.h | 62 SValBuilder(llvm::BumpPtrAllocator &alloc, ASTContext &context, 109 virtual const llvm::APSInt *getKnownValue(ProgramStateRef state, SVal val) = 0; 212 NonLoc makeCompoundVal(QualType type, llvm::ImmutableList<SVal> vals) { 244 nonloc::ConcreteInt makeIntVal(const llvm::APSInt& integer) { 248 loc::ConcreteInt makeIntLocVal(const llvm::APSInt &integer) { 252 NonLoc makeIntVal(const llvm::APInt& integer, bool isUnsigned) { 277 const llvm::APSInt& rhs, QualType type); 279 NonLoc makeNonLoc(const llvm::APSInt& rhs, BinaryOperator::Opcode op, 312 Loc makeLoc(const llvm::APSInt& integer) { 325 SValBuilder* createSimpleSValBuilder(llvm [all...] |
H A D | SVals.h | 21 #include "llvm/ADT/ImmutableList.h" 104 inline void Profile(llvm::FoldingSetNodeID& ID) const { 341 explicit ConcreteInt(const llvm::APSInt& V) : NonLoc(ConcreteIntKind, &V) {} 343 const llvm::APSInt& getValue() const { 344 return *static_cast<const llvm::APSInt*>(Data); 420 typedef llvm::ImmutableList<SVal>::iterator iterator; 531 explicit ConcreteInt(const llvm::APSInt& V) : Loc(ConcreteIntKind, &V) {} 533 const llvm::APSInt& getValue() const { 534 return *static_cast<const llvm::APSInt*>(Data); 560 namespace llvm { namespace [all...] |
H A D | Store.h | 20 #include "llvm/ADT/DenseSet.h" 21 #include "llvm/ADT/Optional.h" 38 typedef llvm::DenseSet<SymbolRef> InvalidatedSymbols;
|
H A D | SymbolManager.h | 23 #include "llvm/ADT/DenseMap.h" 24 #include "llvm/ADT/DenseSet.h" 25 #include "llvm/ADT/FoldingSet.h" 26 #include "llvm/Support/Allocator.h" 27 #include "llvm/Support/DataTypes.h" 42 class SymExpr : public llvm::FoldingSetNode { 69 virtual void Profile(llvm::FoldingSetNodeID& profile) = 0; 133 static void Profile(llvm::FoldingSetNodeID& profile, const TypedValueRegion* R) { 138 void Profile(llvm::FoldingSetNodeID& profile) override { 177 static void Profile(llvm 669 namespace llvm { namespace [all...] |
H A D | TaintManager.h | 21 #include "llvm/ADT/ImmutableMap.h" 32 typedef llvm::ImmutableMap<SymbolRef, TaintTagType> TaintMapImpl;
|
/external/clang/include/clang/Tooling/ |
H A D | CommonOptionsParser.h | 22 // http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html 31 #include "llvm/Support/CommandLine.h" 45 /// #include "llvm/Support/CommandLine.h" 48 /// using namespace llvm; 74 llvm::cl::OptionCategory &Category,
|
H A D | CompilationDatabasePluginRegistry.h | 14 #include "llvm/Support/Registry.h" 21 typedef llvm::Registry<CompilationDatabasePlugin>
|
H A D | JSONCompilationDatabase.h | 21 #include "llvm/ADT/StringMap.h" 22 #include "llvm/ADT/StringRef.h" 23 #include "llvm/Support/MemoryBuffer.h" 24 #include "llvm/Support/SourceMgr.h" 25 #include "llvm/Support/YAMLParser.h" 84 JSONCompilationDatabase(llvm::MemoryBuffer *Database) 95 typedef std::pair<llvm::yaml::ScalarNode*, 96 llvm::yaml::ScalarNode*> CompileCommandRef; 103 llvm::StringMap< std::vector<CompileCommandRef> > IndexByFile; 107 std::unique_ptr<llvm [all...] |
H A D | ReplacementsYaml.h | 20 #include "llvm/Support/YAMLTraits.h" 26 namespace llvm { namespace 74 } // end namespace llvm
|
H A D | Tooling.h | 40 #include "llvm/ADT/StringMap.h" 41 #include "llvm/ADT/Twine.h" 230 llvm::StringMap<StringRef> MappedFileContents; 298 llvm::IntrusiveRefCntPtr<FileManager> Files; 378 /// The difference to llvm::sys::fs::make_absolute is the canonicalization this
|
/external/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 22 #include "llvm/ADT/Triple.h" 23 #include "llvm/Support/MemoryBuffer.h" 151 llvm::Triple triple(origCI.getTargetOpts().Triple); 156 if (triple.getOS() == llvm::Triple::Darwin) 159 if (triple.getOS() == llvm::Triple::MacOSX) { 217 TextDiagnosticPrinter printer(llvm::errs(), diagOpts); 597 llvm::raw_svector_ostream vecOS(newText); 600 llvm::MemoryBuffer *memBuf = llvm::MemoryBuffer::getMemBufferCopy(
|
H A D | FileRemapper.cpp | 14 #include "llvm/Support/FileSystem.h" 15 #include "llvm/Support/MemoryBuffer.h" 16 #include "llvm/Support/Path.h" 17 #include "llvm/Support/raw_ostream.h" 39 llvm::sys::fs::remove(infoFile); 46 llvm::sys::path::append(InfoFile, "remap"); 62 llvm::sys::fs::exists(infoFile, fileExists); 68 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> fileBuf = 69 llvm [all...] |
H A D | ObjCMT.cpp | 31 #include "llvm/ADT/SmallString.h" 32 #include "llvm/Support/Path.h" 33 #include "llvm/Support/SourceMgr.h" 34 #include "llvm/Support/YAMLParser.h" 98 llvm::SmallPtrSet<ObjCProtocolDecl *, 32> ObjCProtocolDecls; 99 llvm::SmallVector<const Decl *, 8> CFFunctionIBCandidates; 100 llvm::StringMap<char> WhiteListFilenames; 147 return WhiteListFilenames.find(llvm::sys::path::filename(Path)) 562 llvm::SmallVectorImpl<ObjCProtocolDecl*> &ConformingProtocols, 676 if (!llvm 1907 namespace llvm { namespace [all...] |
H A D | PlistReporter.cpp | 60 llvm::raw_fd_ostream o(outPath.c_str(), errMsg, llvm::sys::fs::F_Text); 62 llvm::errs() << "error: could not create file: " << outPath << '\n';
|