[clang] 4b64e03 - ASTContext: fix declaration of ParsedTargetAttr [-Wmismatched-tags] after D68627

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 23 12:39:16 PST 2019


Author: Fangrui Song
Date: 2019-12-23T12:38:37-08:00
New Revision: 4b64e034612017fcc97b64d6031319cf18dbbb88

URL: https://github.com/llvm/llvm-project/commit/4b64e034612017fcc97b64d6031319cf18dbbb88
DIFF: https://github.com/llvm/llvm-project/commit/4b64e034612017fcc97b64d6031319cf18dbbb88.diff

LOG: ASTContext: fix declaration of ParsedTargetAttr [-Wmismatched-tags] after D68627

Added: 
    

Modified: 
    clang/include/clang/AST/ASTContext.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/AST/ASTContext.h b/clang/include/clang/AST/ASTContext.h
index 6d1265ca6474..d5ade9340c8e 100644
--- a/clang/include/clang/AST/ASTContext.h
+++ b/clang/include/clang/AST/ASTContext.h
@@ -113,7 +113,7 @@ class ObjCPropertyDecl;
 class ObjCPropertyImplDecl;
 class ObjCProtocolDecl;
 class ObjCTypeParamDecl;
-class ParsedTargetAttr;
+struct ParsedTargetAttr;
 class Preprocessor;
 class Stmt;
 class StoredDeclsMap;


        


More information about the cfe-commits mailing list