Home | History | Annotate | Download | only in Lex

Lines Matching full:identifierinfo

84     IdentifierInfo *II = PTHMgr.GetIdentifierInfo(IdentifierID-1);
169 // This saves some copies and it also reduces IdentifierInfo* lookup.
419 std::unique_ptr<IdentifierInfo *[], llvm::FreeDeleter> perIDCache,
534 // Pre-allocate the persistent ID -> IdentifierInfo* cache. We use calloc()
537 std::unique_ptr<IdentifierInfo *[], llvm::FreeDeleter> PerIDCache;
540 PerIDCache.reset((IdentifierInfo **)calloc(NumIds, sizeof(PerIDCache[0])));
559 IdentifierInfo* PTHManager::LazilyCreateIdentifierInfo(unsigned PersistentID) {
561 // Look in the PTH file for the string data for the IdentifierInfo object.
569 std::pair<IdentifierInfo,const unsigned char*> *Mem =
570 Alloc.Allocate<std::pair<IdentifierInfo,const unsigned char*> >();
574 IdentifierInfo *II = new ((void*) Mem) IdentifierInfo();
576 // Store the new IdentifierInfo in the cache.
582 IdentifierInfo* PTHManager::get(StringRef Name) {