Skip to content

Commit afa8a2e

Browse files
authored
[analyzer] Remove superfluous #include "CallDescription.h" (NFC) (#82614)
To fix #81597, I'm planning to refactor the usage of CallDescription; and as I was preparing for this I noticed that there are two superfluous references to this header.
1 parent fa8a211 commit afa8a2e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

clang/lib/StaticAnalyzer/Checkers/ErrnoChecker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h"
1818
#include "clang/StaticAnalyzer/Core/Checker.h"
1919
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
20-
#include "clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h"
20+
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
2121
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
2222
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h"
2323
#include "clang/StaticAnalyzer/Core/PathSensitive/SVals.h"

clang/lib/StaticAnalyzer/Checkers/TaggedUnionModeling.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
1414
#include "clang/StaticAnalyzer/Core/Checker.h"
1515
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
16-
#include "clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h"
1716
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
1817
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
1918
#include "llvm/ADT/FoldingSet.h"
@@ -96,4 +95,4 @@ void handleConstructorAndAssignment(const CallEvent &Call, CheckerContext &C,
9695

9796
} // namespace clang::ento::tagged_union_modeling
9897

99-
#endif // LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_TAGGEDUNIONMODELING_H
98+
#endif // LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_TAGGEDUNIONMODELING_H

0 commit comments

Comments
 (0)