]> granicus.if.org Git - clang/commit
Refactoring; move the functionality of ASTWriter::GetOrCreateTypeID to the more generic
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 20 Aug 2010 16:04:20 +0000 (16:04 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 20 Aug 2010 16:04:20 +0000 (16:04 +0000)
commiteb3f04e60fa17dba27344ed89fd1b9134bb6839c
tree77908db48b782a41b56a7857361ecbaa180291ab
parent7fb35182f43392cea4517c203bbabb22364a19fc
Refactoring; move the functionality of ASTWriter::GetOrCreateTypeID to the more generic
MakeTypeID template function which accepts a type and a function object that returns a TypeIdx.

MakeTypeID is in PCHCommon.h so that it can be used by ASTReader too.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111634 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ASTWriter.h
lib/Serialization/ASTCommon.cpp
lib/Serialization/ASTCommon.h
lib/Serialization/ASTWriter.cpp