Move ASTRecordReader into its own header; NFC.
authorJohn McCall <rjmccall@apple.com>
Sat, 14 Dec 2019 08:01:28 +0000 (03:01 -0500)
committerJohn McCall <rjmccall@apple.com>
Sat, 14 Dec 2019 08:28:23 +0000 (03:28 -0500)
commitc2f18315ff53006e44afe065368019e41cb98053
tree865413702b7ac1f03cb886f6780462ed1b141a06
parent816985c12053e0f0654e28e1a517799954ea5360
Move ASTRecordReader into its own header; NFC.

AbstractBasicReader.h has quite a few dependencies already,
and that's only likely to increase.  Meanwhile, ASTRecordReader
is really an implementation detail of the ASTReader that is only
used in a small number of places.

I've kept it in a public header for the use of projects like Swift
that might want to plug in to Clang's serialization framework.

I've also moved OMPClauseReader into an implementation file,
although it can't be made private because of friendship.
clang/include/clang/Serialization/ASTReader.h
clang/include/clang/Serialization/ASTRecordReader.h [new file with mode: 0644]
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTReaderDecl.cpp
clang/lib/Serialization/ASTReaderStmt.cpp
clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp