[clang] f7e7a5f - [Attr] Add missing header for clang example.
David Green via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 9 04:50:30 PST 2019
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;
More information about the cfe-commits
mailing list