aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Sema/scope-check.c
AgeCommit message (Expand)AuthorFilesLines
2011-02-18fix rdar://9024687, a crash on invalid that we used to silently ignore.Chris Lattner1-0/+3
2010-10-28Implement an indirect-goto optimization for goto *&&lbl and respect thisJohn McCall1-1/+31
2010-08-02Labels (and case statement) don't create independent scope parents for theJohn McCall1-16/+16
2010-05-12Correct spelling of expected error message. Apparently I forgot to re-runJohn McCall1-1/+1
2010-05-12When checking scopes for indirect goto, be more permissive (but still safe)John McCall1-6/+12
2010-03-05Emit warning on indirect goto that potentially violates Chris Lattner1-1/+1
2010-03-05address PR6502 by downgrading the scope checker's addressChris Lattner1-1/+1
2010-01-23Insulate these from changes to the default for -Wunreachable-code.Mike Stump1-1/+1
2010-01-19Implement goto inside of blocks.Mike Stump1-6/+5
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar1-1/+1
2009-04-19run the jump checker on blocks, even though they don't have gotos,Chris Lattner1-1/+14
2009-04-19add a new Sema::CurFunctionNeedsScopeChecking bool that is used to avoid Chris Lattner1-9/+2
2009-04-19apparently gotos aren't allowed at all in blocks. Stub out a testcase for wh...Chris Lattner1-0/+24
2009-04-19more testcases of variably modified types.Chris Lattner1-1/+15
2009-04-19second half of indirect jump checking: make sure that any Chris Lattner1-3/+6
2009-04-19First half of jump scope checking for indirect goto.Chris Lattner1-0/+26
2009-04-18add some testcases that we do not correctly handle.Chris Lattner1-2/+19
2009-04-18reimplement DeclStmt handling so that we correctly handle intermixed Chris Lattner1-0/+29
2009-04-18rearrange.Chris Lattner1-6/+10
2009-04-18add testcases for some more scary/horrible things that work.Chris Lattner1-2/+15
2009-04-18unconditionally check for goto correctness. This is because switchChris Lattner1-1/+0
2009-04-18Improve switch diagnostic to emit the "jump" message on theChris Lattner1-3/+3
2009-04-18first step to getting switches giving "jump into vla scope" errors.Chris Lattner1-0/+11
2009-04-18improve wording of scope violation error messages.Chris Lattner1-16/+5
2009-04-18rewrite the goto scope checking code to be more efficient, simpler,Chris Lattner1-8/+25
2009-04-18add another testcaseChris Lattner1-7/+19
2009-04-15Revert previous patch (will commit a fix soon).Steve Naroff1-0/+8
2009-03-24Rename clang to clang-cc.Daniel Dunbar1-1/+1
2009-02-28Check a few more kinds of declarations that make a scope.Eli Friedman1-0/+16
2009-02-28Start of checking for gotos which jump to an illegal destination. Eli Friedman1-0/+8