commit | ac51de6ec2f01fce1d9dadf59a86ffe825c42bc7 | [log] [tgz] |
---|---|---|
author | Andy Gibbs <andyg1001@hotmail.co.uk> | Fri Oct 19 12:36:49 2012 +0000 |
committer | Andy Gibbs <andyg1001@hotmail.co.uk> | Fri Oct 19 12:36:49 2012 +0000 |
tree | 0791be5a26a231653d9a6c1aa0172dca1afc4662 | |
parent | 8eb77d847e8a5cba03682bd948613c7162e56a86 [diff] |
Fix directive parsing in VerifyDiagnosticConsumer so that it ensures that "expected" is at the start of the word and will no longer accept typos such as "junkexpected-*" as a valid "expected-*" directive. A very few test-cases had to be amended to adhere to the new rule. Patch reviewed by David Blaikie. llvm-svn: 166279