Skip to content

Commit a65ac8b

Browse files
committed
Relax the AnalyzerOptions.def include check
The StringRef is already transitively included from the AnalyzerOptions.h
1 parent 23a1654 commit a65ac8b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#if !defined(LLVM_ADT_STRINGREF_H) || !defined(LLVM_CLANG_STATICANALYZER_CORE_ANALYZEROPTIONS_H)
13+
#ifndef LLVM_CLANG_STATICANALYZER_CORE_ANALYZEROPTIONS_H
1414
#error This .def file is expected to be included in translation units where \
15-
"llvm/ADT/StringRef.h" and "clang/StaticAnalyzer/Core/AnalyzerOptions.h" are \
16-
already included!
15+
"clang/StaticAnalyzer/Core/AnalyzerOptions.h" is already included!
1716
#endif
1817

1918
#ifdef ANALYZER_OPTION

0 commit comments

Comments
 (0)