Deleted Added
full compact
DependencyFile.cpp (199482) DependencyFile.cpp (199990)
1//===--- DependencyFile.cpp - Generate dependency file --------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 7 unchanged lines hidden (view full) ---

16#include "clang/Basic/SourceLocation.h"
17#include "clang/Basic/SourceManager.h"
18#include "clang/Frontend/DependencyOutputOptions.h"
19#include "clang/Frontend/FrontendDiagnostic.h"
20#include "clang/Lex/DirectoryLookup.h"
21#include "clang/Lex/PPCallbacks.h"
22#include "clang/Lex/Preprocessor.h"
23#include "llvm/ADT/StringSet.h"
1//===--- DependencyFile.cpp - Generate dependency file --------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 7 unchanged lines hidden (view full) ---

16#include "clang/Basic/SourceLocation.h"
17#include "clang/Basic/SourceManager.h"
18#include "clang/Frontend/DependencyOutputOptions.h"
19#include "clang/Frontend/FrontendDiagnostic.h"
20#include "clang/Lex/DirectoryLookup.h"
21#include "clang/Lex/PPCallbacks.h"
22#include "clang/Lex/Preprocessor.h"
23#include "llvm/ADT/StringSet.h"
24#include "llvm/Support/Compiler.h"
25#include "llvm/Support/raw_ostream.h"
26#include <string>
27
28using namespace clang;
29
30namespace {
24#include "llvm/Support/raw_ostream.h"
25#include <string>
26
27using namespace clang;
28
29namespace {
31class VISIBILITY_HIDDEN DependencyFileCallback : public PPCallbacks {
30class DependencyFileCallback : public PPCallbacks {
32 std::vector<std::string> Files;
33 llvm::StringSet<> FilesSet;
34 const Preprocessor *PP;
35 std::vector<std::string> Targets;
36 llvm::raw_ostream *OS;
37 bool IncludeSystemHeaders;
38 bool PhonyTarget;
39private:

--- 136 unchanged lines hidden ---
31 std::vector<std::string> Files;
32 llvm::StringSet<> FilesSet;
33 const Preprocessor *PP;
34 std::vector<std::string> Targets;
35 llvm::raw_ostream *OS;
36 bool IncludeSystemHeaders;
37 bool PhonyTarget;
38private:

--- 136 unchanged lines hidden ---