projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4521c2
)
Fix MSVC 'not all control paths return a value' warning.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Fri, 24 Mar 2017 16:59:14 +0000
(16:59 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Fri, 24 Mar 2017 16:59:14 +0000
(16:59 +0000)
llvm-svn: 298712
clang/lib/Index/IndexingContext.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Index/IndexingContext.cpp
b/clang/lib/Index/IndexingContext.cpp
index
c5ccf45
..
f393b11
100644
(file)
--- a/
clang/lib/Index/IndexingContext.cpp
+++ b/
clang/lib/Index/IndexingContext.cpp
@@
-235,6
+235,7
@@
static bool shouldReportOccurrenceForSystemDeclOnlyMode(
case SymbolRole::RelationContainedBy:
return true;
}
+ llvm_unreachable("Unsupported SymbolRole value!");
});
return accept;
};