]> granicus.if.org Git - clang/commitdiff
[analyzer] Use the same filename for the header and the implementation of BugReporter...
authorGeorge Karpenkov <ekarpenkov@apple.com>
Mon, 30 Oct 2017 22:31:57 +0000 (22:31 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Mon, 30 Oct 2017 22:31:57 +0000 (22:31 +0000)
Differential Revision: https://reviews.llvm.org/D37935

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316963 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h [moved from include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h with 99% similarity]
lib/StaticAnalyzer/Core/BugReporterVisitors.cpp

index 0f1eb096c49585633766b50f31fe6c3ab6ea7db9..cd1355d03b63928cb2ab3e5710ea0c8d14945675 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "clang/Basic/SourceLocation.h"
 #include "clang/StaticAnalyzer/Core/AnalyzerOptions.h"
-#include "clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h"
+#include "clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h"
 #include "clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h"
 #include "clang/StaticAnalyzer/Core/CheckerManager.h"
 #include "clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h"
similarity index 99%
rename from include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h
rename to include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
index b72bce5fc9f8258a57760f52eec7357fc24fbec0..2043896fd26fe0cd4061b7e34f548ba9e24ba778 100644 (file)
@@ -1,4 +1,4 @@
-//===---  BugReporterVisitor.h - Generate PathDiagnostics -------*- C++ -*-===//
+//===---  BugReporterVisitors.h - Generate PathDiagnostics -------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -12,8 +12,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_CLANG_STATICANALYZER_CORE_BUGREPORTER_BUGREPORTERVISITOR_H
-#define LLVM_CLANG_STATICANALYZER_CORE_BUGREPORTER_BUGREPORTERVISITOR_H
+#ifndef LLVM_CLANG_STATICANALYZER_CORE_BUGREPORTER_BUGREPORTERVISITORS_H
+#define LLVM_CLANG_STATICANALYZER_CORE_BUGREPORTER_BUGREPORTERVISITORS_H
 
 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.h"
 #include "llvm/ADT/FoldingSet.h"
index 5f00b516fededcf1d5485e20e33854fcae7e0c27..f651596006b3aab3d7626ea30e5abf84d57be77c 100644 (file)
@@ -11,7 +11,7 @@
 //  enhance the diagnostics reported for a bug.
 //
 //===----------------------------------------------------------------------===//
-#include "clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h"
+#include "clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h"
 #include "clang/AST/Expr.h"
 #include "clang/AST/ExprObjC.h"
 #include "clang/Analysis/CFGStmtMap.h"