summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp
diff options
context:
space:
mode:
authorGeorge Karpenkov <ekarpenkov@apple.com>2018-05-16 22:46:47 +0000
committerGeorge Karpenkov <ekarpenkov@apple.com>2018-05-16 22:46:47 +0000
commit47bb3f70333827596f9c6e31ea754abfec53ed67 (patch)
treee947725b3280d878e11e61c0c8970a86076abbfc /clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp
parentacd1f4e73802c807369a37b60981237bc86e8fc2 (diff)
downloadbcm5719-llvm-47bb3f70333827596f9c6e31ea754abfec53ed67.tar.gz
bcm5719-llvm-47bb3f70333827596f9c6e31ea754abfec53ed67.zip
[analyzer] Change the warning message for GCD antipattern checker
llvm-svn: 332544
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp
index 4ee5159b43d..1b7ea53aeac 100644
--- a/clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp
@@ -187,8 +187,8 @@ static void emitDiagnostics(const BoundNodes &Nodes,
std::string Diagnostics;
llvm::raw_string_ostream OS(Diagnostics);
- OS << "Waiting on a " << Type << " with Grand Central Dispatch creates "
- << "useless threads and is subject to priority inversion; consider "
+ OS << "Waiting on a callback using a " << Type << " creates useless threads "
+ << "and is subject to priority inversion; consider "
<< "using a synchronous API or changing the caller to be asynchronous";
BR.EmitBasicReport(
OpenPOWER on IntegriCloud