[PATCH] D52097: [OPENMP] Move OMPClauseReader/Writer classes to ASTReader/Writer - NFC

Patrick Lyster via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 14 08:01:07 PDT 2018


patricklyster created this revision.
patricklyster added reviewers: ABataev, Hahnfeld, RaviNarayanaswamy, mikerice, kkwli0, hfinkel, gtbercea.
patricklyster added projects: OpenMP, clang.
Herald added subscribers: cfe-commits, jfb, guansong.

Move declarations for `OMPClauseReader`, `OMPClauseWriter` to ASTReader.h and ASTWriter.h and move implementation to ASTReader.cpp and ASTWriter.cpp. This NFC will help generalize the serialization of OpenMP clauses and will be used in the future implementation of new OpenMP directives (e.g. `omp requires`).


Repository:
  rC Clang

https://reviews.llvm.org/D52097

Files:
  clang/include/clang/AST/OpenMPClause.h
  clang/include/clang/AST/StmtVisitor.h
  clang/include/clang/Serialization/ASTReader.h
  clang/include/clang/Serialization/ASTWriter.h
  clang/lib/Serialization/ASTReader.cpp
  clang/lib/Serialization/ASTReaderStmt.cpp
  clang/lib/Serialization/ASTWriter.cpp
  clang/lib/Serialization/ASTWriterStmt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52097.165508.patch
Type: text/x-patch
Size: 102084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180914/e2bde3eb/attachment-0001.bin>


More information about the cfe-commits mailing list