aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/Module.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2017-01-28 21:34:28 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2017-01-28 21:34:28 +0000
commit14afc8e7b83e643ed56580d8e935f77a7a6ae52c (patch)
tree0e2ca3697f329664ebd0c28463c0fd3ab5d5fdce /clang/lib/Serialization/Module.cpp
parent3caaaa94c6a2aea5d0cda2550a9d83a3145ed5fd (diff)
downloadllvm-14afc8e7b83e643ed56580d8e935f77a7a6ae52c.zip
llvm-14afc8e7b83e643ed56580d8e935f77a7a6ae52c.tar.gz
llvm-14afc8e7b83e643ed56580d8e935f77a7a6ae52c.tar.bz2
Modules: Separate out a checkSignature helper, almost NFC
The main point is to move the delete-the-new-module logic into the same block that creates it, so I can simplify the memory management in a follow-up, but I think it's clearer to use use a checkSignature helper here anyway. There is a minor functionality change: we now scan ahead to pull the signature out of the control block *only* if this is a new ModuleFile. For old ones, ASTReader::ReadControlBlock will have already read the signature. llvm-svn: 293393
Diffstat (limited to 'clang/lib/Serialization/Module.cpp')
0 files changed, 0 insertions, 0 deletions