Home
last modified time | relevance | path

Searched refs:MacroIDBit (Results 1 – 2 of 2) sorted by relevance

/external/clang/include/clang/Basic/
DSourceLocation.h94 MacroIDBit = 1U << 31 enumerator
100 bool isFileID() const { return (ID & MacroIDBit) == 0; } in isFileID()
101 bool isMacroID() const { return (ID & MacroIDBit) != 0; } in isMacroID()
114 return ID & ~MacroIDBit; in getOffset()
118 assert((ID & MacroIDBit) == 0 && "Ran out of source locations!"); in getFileLoc()
125 assert((ID & MacroIDBit) == 0 && "Ran out of source locations!"); in getMacroLoc()
127 L.ID = MacroIDBit | ID; in getMacroLoc()
135 assert(((getOffset()+Offset) & MacroIDBit) == 0 && "offset overflow"); in getLocWithOffset()
/external/llvm-project/clang/include/clang/Basic/
DSourceLocation.h98 MacroIDBit = 1U << 31
102 bool isFileID() const { return (ID & MacroIDBit) == 0; }
103 bool isMacroID() const { return (ID & MacroIDBit) != 0; }
116 return ID & ~MacroIDBit;
120 assert((ID & MacroIDBit) == 0 && "Ran out of source locations!");
127 assert((ID & MacroIDBit) == 0 && "Ran out of source locations!");
129 L.ID = MacroIDBit | ID;
137 assert(((getOffset()+Offset) & MacroIDBit) == 0 && "offset overflow");