commit | 182745ae7892bca0842d9c023370ade5f8d1c6e8 | [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 | 6f0768bc565028d2536fc41ee0d466c13985a921 [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