Add some missing header dependencies
authorReid Kleckner <rnk@google.com>
Thu, 27 Feb 2020 22:32:10 +0000 (14:32 -0800)
committerReid Kleckner <rnk@google.com>
Thu, 27 Feb 2020 22:32:12 +0000 (14:32 -0800)
Unit tests are not part of `all` O_O, and I tested on Windows with
-fdelayed-template-parsing.

clang/lib/StaticAnalyzer/Checkers/Yaml.h
clang/unittests/AST/ASTVectorTest.cpp
clang/unittests/CodeGen/TBAAMetadataTest.cpp

index 968c50e..ec612dd 100644 (file)
@@ -15,6 +15,7 @@
 #define LLVM_CLANG_LIB_STATICANALYZER_CHECKER_YAML_H
 
 #include "clang/StaticAnalyzer/Core/CheckerManager.h"
+#include "llvm/Support/VirtualFileSystem.h"
 #include "llvm/Support/YAMLTraits.h"
 
 namespace clang {
index f5b208a..7953acb 100644 (file)
 //
 //===----------------------------------------------------------------------===//
 
-#include "clang/AST/ASTContext.h"
 #include "clang/AST/ASTVector.h"
+#include "clang/AST/ASTContext.h"
 #include "clang/Basic/Builtins.h"
+#include "clang/Basic/FileManager.h"
+#include "clang/Basic/SourceManager.h"
 #include "gtest/gtest.h"
 
 using namespace clang;
index 6535fe2..9726838 100644 (file)
@@ -9,12 +9,13 @@
 #include "IRMatchers.h"
 #include "clang/AST/ASTConsumer.h"
 #include "clang/AST/ASTContext.h"
+#include "clang/Basic/SourceManager.h"
 #include "clang/CodeGen/ModuleBuilder.h"
 #include "clang/Frontend/CompilerInstance.h"
 #include "clang/Parse/ParseAST.h"
 #include "llvm/ADT/Triple.h"
-#include "llvm/IR/LLVMContext.h"
 #include "llvm/IR/Constants.h"
+#include "llvm/IR/LLVMContext.h"
 #include "llvm/IR/Module.h"
 #include "llvm/Support/MemoryBuffer.h"
 #include "gtest/gtest.h"