summaryrefslogtreecommitdiffstats
path: root/include/clang/AST/ASTStructuralEquivalence.h
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2019-01-11 01:32:35 +0000
committerRichard Trieu <rtrieu@google.com>2019-01-11 01:32:35 +0000
commitf9802cffcd89aa6245a0bb3f6d21929b23d5b96f (patch)
treed555128c6d68c45252cd7d18e30c0aa840bc245a /include/clang/AST/ASTStructuralEquivalence.h
parent57cccd459fadccac6766bf8f1ecbe0f6a3184059 (diff)
Fix header issues.
Several headers would fail to compile if other headers were not previously included. The usual issue is that a class is forward declared, but the full definition is needed. The requirement for the definition is use of isa/dyn_cast or calling functions of pointer-packed data types such as DenseMap or PointerIntPair. Add missing includes to these headers. SVals.h required an out-of-line method definition in the .cpp file to avoid circular inclusion of headers with BasicValueFactory.h git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/ASTStructuralEquivalence.h')
-rw-r--r--include/clang/AST/ASTStructuralEquivalence.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/AST/ASTStructuralEquivalence.h b/include/clang/AST/ASTStructuralEquivalence.h
index 2037796cd5..f8847505bc 100644
--- a/include/clang/AST/ASTStructuralEquivalence.h
+++ b/include/clang/AST/ASTStructuralEquivalence.h
@@ -15,6 +15,7 @@
#ifndef LLVM_CLANG_AST_ASTSTRUCTURALEQUIVALENCE_H
#define LLVM_CLANG_AST_ASTSTRUCTURALEQUIVALENCE_H
+#include "clang/AST/DeclBase.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/Optional.h"