reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
44 bool isValid() const { return ID != 0; } 45 bool isInvalid() const { return ID == 0; } 47 bool operator==(const FileID &RHS) const { return ID == RHS.ID; } 47 bool operator==(const FileID &RHS) const { return ID == RHS.ID; } 48 bool operator<(const FileID &RHS) const { return ID < RHS.ID; } 48 bool operator<(const FileID &RHS) const { return ID < RHS.ID; } 49 bool operator<=(const FileID &RHS) const { return ID <= RHS.ID; } 49 bool operator<=(const FileID &RHS) const { return ID <= RHS.ID; } 55 unsigned getHashValue() const { return static_cast<unsigned>(ID); } 64 F.ID = V; 68 int getOpaqueValue() const { return ID; }tools/clang/include/clang/Basic/SourceManager.h
1150 if (FID.ID >= -1) 1153 return ExternalSLocEntries->getModuleImportLoc(FID.ID); 1700 if (FID.ID == 0 || FID.ID == -1) { 1700 if (FID.ID == 0 || FID.ID == -1) { 1704 return getSLocEntryByID(FID.ID, Invalid); 1736 assert(FID.ID != -1 && "Using FileID sentinel value"); 1737 return FID.ID < 0; 1802 if (FID.ID == -2) 1806 if (FID.ID+1 == static_cast<int>(LocalSLocEntryTable.size())) 1811 return SLocOffset < getSLocEntryByID(FID.ID+1).getOffset();tools/clang/lib/Basic/SourceManager.cpp
528 int ID = FID.ID; 548 int ID = FID.ID; 762 if (LastFileIDLookup.ID < 0 || 763 LocalSLocEntryTable[LastFileIDLookup.ID].getOffset() < SLocOffset) { 768 I = LocalSLocEntryTable.begin()+LastFileIDLookup.ID; 849 int LastID = LastFileIDLookup.ID; 1554 int ID = FID.ID; 1706 int ID = FID.ID; 1794 ++SpellFID.ID; 2015 /*isLFIDBeforeRFID=*/LOffs.first.ID < ROffs.first.ID); 2015 /*isLFIDBeforeRFID=*/LOffs.first.ID < ROffs.first.ID);tools/clang/lib/Serialization/ASTWriter.cpp
2434 if (L.first.ID < 0) 2447 if (L.first.ID < 0) 2451 Record.push_back(L.first.ID);