commit | eb3f04e60fa17dba27344ed89fd1b9134bb6839c | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Aug 20 16:04:20 2010 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Aug 20 16:04:20 2010 +0000 |
tree | 77908db48b782a41b56a7857361ecbaa180291ab | |
parent | 7fb35182f43392cea4517c203bbabb22364a19fc [diff] |
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