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:
2d4c10f
)
Added an example of an empty case label to avoid confusion.
author
Alexander Kornienko
<alexfh@google.com>
Mon, 17 Sep 2012 21:45:21 +0000
(21:45 +0000)
committer
Alexander Kornienko
<alexfh@google.com>
Mon, 17 Sep 2012 21:45:21 +0000
(21:45 +0000)
llvm-svn: 164055
clang/docs/LanguageExtensions.html
patch
|
blob
|
history
diff --git
a/clang/docs/LanguageExtensions.html
b/clang/docs/LanguageExtensions.html
index
79fd3bc
..
21ac627
100644
(file)
--- a/
clang/docs/LanguageExtensions.html
+++ b/
clang/docs/LanguageExtensions.html
@@
-1582,7
+1582,8
@@
path between it and the next switch label.</p>
<pre>
// compile with -Wimplicit-fallthrough
switch (n) {
-case 33:
+case 22:
+case 33: // no warning: no statements between case labels
f();
case 44: // warning: unannotated fall-through
g();