Author: David Green
Date: 2019-12-09T12:50:05Z
New Revision: f7e7a5f1b6dd318d39627445c6a9ca7568d8cd61

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

LOG: [Attr] Add missing header for clang example.

The examples are easy to miss.

Added: 
    

Modified: 
    clang/examples/AnnotateFunctions/AnnotateFunctions.cpp

Removed: 
    


################################################################################
diff  --git a/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp 
b/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp
index d201bf3df891..1724704fe124 100644
--- a/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp
+++ b/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp
@@ -14,6 +14,7 @@
 #include "clang/Frontend/FrontendPluginRegistry.h"
 #include "clang/AST/AST.h"
 #include "clang/AST/ASTConsumer.h"
+#include "clang/AST/Attr.h"
 #include "clang/Lex/Preprocessor.h"
 #include "clang/Lex/LexDiagnostic.h"
 using namespace clang;


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to