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 79fd3bcbcd93a5e514d8ccc46a2d499756da077b..21ac6277122c6d616167e6bac7e71f176a1b66c8 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();