r192712 - Don't depend on alias to declarations.
Rafael Espindola
rafael.espindola at gmail.com
Tue Oct 15 08:40:03 PDT 2013
Author: rafael
Date: Tue Oct 15 10:40:03 2013
New Revision: 192712
URL: http://llvm.org/viewvc/llvm-project?rev=192712&view=rev
Log:
Don't depend on alias to declarations.
Accepting them is a bug (pr17535), not a feature.
Modified:
cfe/trunk/test/CodeGenCXX/new-alias.cpp
Modified: cfe/trunk/test/CodeGenCXX/new-alias.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/new-alias.cpp?rev=192712&r1=192711&r2=192712&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/new-alias.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/new-alias.cpp Tue Oct 15 10:40:03 2013
@@ -2,6 +2,9 @@
using size_t = decltype(sizeof(0));
+extern "C" char *something(long long x) {
+}
+
// CHECK: @_Znwm = alias i8* (i64)* @something
void *operator new(size_t) __attribute__((alias("something")));
More information about the cfe-commits
mailing list