From cfaa84e1a679b2e2eb409eb57292f7caecb642d4 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Mon, 23 Mar 2020 12:49:41 -0700 Subject: [PATCH] Fix "previously declared as a struct" warning --- clang/include/clang/AST/ASTContext.h | 2 +- clang/include/clang/Serialization/ASTRecordReader.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/include/clang/AST/ASTContext.h b/clang/include/clang/AST/ASTContext.h index d9e2945..ca0f991 100644 --- a/clang/include/clang/AST/ASTContext.h +++ b/clang/include/clang/AST/ASTContext.h @@ -116,7 +116,7 @@ class ObjCPropertyDecl; class ObjCPropertyImplDecl; class ObjCProtocolDecl; class ObjCTypeParamDecl; -struct OMPTraitInfo; +class OMPTraitInfo; struct ParsedTargetAttr; class Preprocessor; class Stmt; diff --git a/clang/include/clang/Serialization/ASTRecordReader.h b/clang/include/clang/Serialization/ASTRecordReader.h index 3622960..5bdc9ca 100644 --- a/clang/include/clang/Serialization/ASTRecordReader.h +++ b/clang/include/clang/Serialization/ASTRecordReader.h @@ -22,7 +22,7 @@ #include "llvm/ADT/APSInt.h" namespace clang { -struct OMPTraitInfo; +class OMPTraitInfo; /// An object for streaming information from a record. class ASTRecordReader -- 2.7.4