r189575 - Removed useless default branch of switch statement.
Serge Pavlov
sepavloff at gmail.com
Thu Aug 29 01:20:07 PDT 2013
Author: sepavloff
Date: Thu Aug 29 03:20:07 2013
New Revision: 189575
URL: http://llvm.org/viewvc/llvm-project?rev=189575&view=rev
Log:
Removed useless default branch of switch statement.
The problem was caught by sanitizer build.
Modified:
cfe/trunk/lib/Sema/SemaLookup.cpp
Modified: cfe/trunk/lib/Sema/SemaLookup.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaLookup.cpp?rev=189575&r1=189574&r2=189575&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaLookup.cpp (original)
+++ cfe/trunk/lib/Sema/SemaLookup.cpp Thu Aug 29 03:20:07 2013
@@ -1870,9 +1870,6 @@ void Sema::DiagnoseAmbiguousLookup(Looku
Diag((*DI)->getLocation(), diag::note_ambiguous_candidate) << *DI;
break;
}
-
- default:
- llvm_unreachable("unknown ambiguity kind");
}
}
More information about the cfe-commits
mailing list