summaryrefslogtreecommitdiff
path: root/clang/examples
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2019-12-09 12:43:37 +0000
committerDavid Green <david.green@arm.com>2019-12-09 12:50:05 +0000
commitf7e7a5f1b6dd318d39627445c6a9ca7568d8cd61 (patch)
treef867ed3847dcb06f45629b02fdc5286091529aad /clang/examples
parent773b849c10a60171908ab1bd658a44b6b396f567 (diff)
downloadllvm-f7e7a5f1b6dd318d39627445c6a9ca7568d8cd61.tar.gz
[Attr] Add missing header for clang example.
The examples are easy to miss.
Diffstat (limited to 'clang/examples')
-rw-r--r--clang/examples/AnnotateFunctions/AnnotateFunctions.cpp1
1 files changed, 1 insertions, 0 deletions
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;