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