diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-22 13:51:06 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-22 13:51:06 +0000 |
| commit | 0fad0d7724339d9397ad55ec6c9580a9236dad17 (patch) | |
| tree | c51f274d1fa587baad76553c95711d6290a843ba /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | acf49f31b6d4fd1589bd47600ec7fc956e18750a (diff) | |
This patch causes clang to reject alias attributes that point to undefined
names. For example, with this patch we now reject
void f1(void) __attribute__((alias("g1")));
This patch is implemented in CodeGen. It is quiet a bit simpler and more
compatible with gcc than implementing it in Sema. The downside is that the
errors only fire during -emit-llvm.
llvm-svn: 193161
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
