diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-24 03:33:22 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-24 03:33:22 +0000 |
| commit | 79bf92055219324f3777a71faedfb2ccdd8f9599 (patch) | |
| tree | bae3349af9e2d6044f5fdbf162d2fff4e4c02ea8 /clang/lib/Serialization/ASTReaderInternals.h | |
| parent | d134a67ce9537bba2947df75cd65c31246bbbdd9 (diff) | |
| download | bcm5719-llvm-79bf92055219324f3777a71faedfb2ccdd8f9599.tar.gz bcm5719-llvm-79bf92055219324f3777a71faedfb2ccdd8f9599.zip | |
[modules] Stop updating all identifiers when writing a module. This is
unnecessary in C++ modules (where we don't need the identifiers for their
Decls) and expensive.
llvm-svn: 245821
Diffstat (limited to 'clang/lib/Serialization/ASTReaderInternals.h')
| -rw-r--r-- | clang/lib/Serialization/ASTReaderInternals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Serialization/ASTReaderInternals.h b/clang/lib/Serialization/ASTReaderInternals.h index 701cf7300f6..47640f6c47b 100644 --- a/clang/lib/Serialization/ASTReaderInternals.h +++ b/clang/lib/Serialization/ASTReaderInternals.h @@ -137,6 +137,8 @@ public: const unsigned char* d, unsigned DataLen); + IdentID ReadIdentifierID(const unsigned char *d); + ASTReader &getReader() const { return Reader; } }; |

