commit | 217df51d120a8290117d9e95e8e1314af9ac8504 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Dec 02 01:09:57 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Dec 02 01:09:57 2007 +0000 |
tree | 97b1bd149c792843070cfec3b3ec46381e18a8a3 | |
parent | b8eb007afdef9e27fc536d6f693c974895cab374 [diff] |
add support for custom client-specific diagnostics. As a testcase, make the rewriter emit this error if it fails to rewrite an @encode: t.m:17:9: error: rewriter could not replace sub-expression due to macros c = ENC(char *)[2] + 4; ^~~~~~~~~~~ ... where ENC is: #define ENC @encode git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44498 91177308-0d34-0410-b5e6-96231b3b80d8