Move ASTRecordWriter into its own header; NFC.
authorJohn McCall <rjmccall@apple.com>
Sat, 14 Dec 2019 08:17:03 +0000 (03:17 -0500)
committerJohn McCall <rjmccall@apple.com>
Sat, 14 Dec 2019 08:28:23 +0000 (03:28 -0500)
commit2ac702aaf09174432905a9f05b31418a89019437
treef8637e77b426c7f04fae4839f50ba1fb2ec6d2cf
parentc2f18315ff53006e44afe065368019e41cb98053
Move ASTRecordWriter into its own header; NFC.

Similar motivations to the movement of ASTRecordReader:
AbstractBasicWriter.h already has quite a few dependencies,
and it's going to get pretty large as we generate more and more
into it.  Meanwhile, most clients don't depend on this detail of
the implementation and shouldn't need to be recompiled.

I've also made OMPClauseWriter private, like it belongs.
clang/include/clang/Serialization/ASTRecordWriter.h [new file with mode: 0644]
clang/include/clang/Serialization/ASTWriter.h
clang/lib/Serialization/ASTWriter.cpp
clang/lib/Serialization/ASTWriterDecl.cpp
clang/lib/Serialization/ASTWriterStmt.cpp