forked from OSchip/llvm-project
[analyzer] Remove a couple of unnecessary returns after llvm_unreachables.
llvm-svn: 138649
This commit is contained in:
parent
755c0c996a
commit
256a6dd13b
|
@ -2693,7 +2693,6 @@ public:
|
||||||
switch (GCMode) {
|
switch (GCMode) {
|
||||||
case LangOptions::HybridGC:
|
case LangOptions::HybridGC:
|
||||||
llvm_unreachable("GC mode not set yet!");
|
llvm_unreachable("GC mode not set yet!");
|
||||||
return true;
|
|
||||||
case LangOptions::NonGC:
|
case LangOptions::NonGC:
|
||||||
return false;
|
return false;
|
||||||
case LangOptions::GCOnly:
|
case LangOptions::GCOnly:
|
||||||
|
@ -2701,7 +2700,6 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
llvm_unreachable("Invalid/unknown GC mode.");
|
llvm_unreachable("Invalid/unknown GC mode.");
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isARCorGCEnabled(ASTContext &Ctx) const {
|
bool isARCorGCEnabled(ASTContext &Ctx) const {
|
||||||
|
|
Loading…
Reference in New Issue