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