commit | 4a529d26d6ccfc9b3d11031f1256f4f87055c562 | [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 | 12e81b52c05f235585dfa3ff1ac3f2ec3be51e98 | |
parent | 79cf161f178e36ce6d8aeea2a247e367b8d0fc34 [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166279 91177308-0d34-0410-b5e6-96231b3b80d8