Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
860a319e62b0e256817a458396d191aa91c0787a
/
test
/
Sema
/
scope-check.c
febb5b8
fix rdar://9024687, a crash on invalid that we used to silently ignore.
by Chris Lattner
· 14 years ago
95c225d
Implement an indirect-goto optimization for goto *&&lbl and respect this
by John McCall
· 14 years ago
97ba481
Labels (and case statement) don't create independent scope parents for the
by John McCall
· 14 years ago
ebc2fb2
Correct spelling of expected error message. Apparently I forgot to re-run
by John McCall
· 14 years ago
ddb0b4d
When checking scopes for indirect goto, be more permissive (but still safe)
by John McCall
· 14 years ago
02db31c
Emit warning on indirect goto that potentially violates
by Chris Lattner
· 15 years ago
fc3a070
address PR6502 by downgrading the scope checker's address
by Chris Lattner
· 15 years ago
4617191
Insulate these from changes to the default for -Wunreachable-code.
by Mike Stump
· 15 years ago
a3899eb
Implement goto inside of blocks.
by Mike Stump
· 15 years ago
a572887
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
by Daniel Dunbar
· 15 years ago
17a7830
run the jump checker on blocks, even though they don't have gotos,
by Chris Lattner
· 16 years ago
38c5ebd
add a new Sema::CurFunctionNeedsScopeChecking bool that is used to avoid
by Chris Lattner
· 16 years ago
deae3a7
apparently gotos aren't allowed at all in blocks. Stub out a testcase for when/if they are.
by Chris Lattner
· 16 years ago
3037a82
more testcases of variably modified types.
by Chris Lattner
· 16 years ago
b5cf1ea
second half of indirect jump checking: make sure that any
by Chris Lattner
· 16 years ago
04ea2b6
First half of jump scope checking for indirect goto.
by Chris Lattner
· 16 years ago
c78476b
add some testcases that we do not correctly handle.
by Chris Lattner
· 16 years ago
2b7b2ca
reimplement DeclStmt handling so that we correctly handle intermixed
by Chris Lattner
· 16 years ago
5b40e0c
rearrange.
by Chris Lattner
· 16 years ago
35562d1
add testcases for some more scary/horrible things that work.
by Chris Lattner
· 16 years ago
b565937
unconditionally check for goto correctness. This is because switch
by Chris Lattner
· 16 years ago
a9768b7
Improve switch diagnostic to emit the "jump" message on the
by Chris Lattner
· 16 years ago
366920a
first step to getting switches giving "jump into vla scope" errors.
by Chris Lattner
· 16 years ago
5ce71c9
improve wording of scope violation error messages.
by Chris Lattner
· 16 years ago
a5251fc
rewrite the goto scope checking code to be more efficient, simpler,
by Chris Lattner
· 16 years ago
fd0c0cf
add another testcase
by Chris Lattner
· 16 years ago
1b6823d
Revert previous patch (will commit a fix soon).
by Steve Naroff
· 16 years ago
d7d5f02
Rename clang to clang-cc.
by Daniel Dunbar
· 16 years ago
709fa15
Check a few more kinds of declarations that make a scope.
by Eli Friedman
· 16 years ago
8f17b66
Start of checking for gotos which jump to an illegal destination.
by Eli Friedman
· 16 years ago