> Sorry, make that trunk @ r155317. 155304 is my llvm revision number 9_9
>
> tests-MacBook-Pro-2:clang test$ ../../Release+Asserts/bin/clang --version
> clang version 3.2 (trunk 155317) (llvm/trunk 155304)

Thanks.

What was missing was a similar treatment of function templates. The
attached patch should do it. With it we now agree with gcc 4.7 about

namespace t1 {
  struct HIDDEN foo {
  };
  template<class T>
  DEFAULT void bar() {}
  template DEFAULT void bar<foo>();
}
namespace t2 {
  struct HIDDEN foo {
  };
  template<class T>
  DEFAULT void bar() {}
  template void bar<foo>();
}

I just started a linux build of chrome with

export GYP_GENERATORS='ninja'
export GYP_DEFINES='component=shared_library clang=1 disable_nacl=1
clang_use_chrome_plugins=0'

and will start an OS X one too.

Cheers,
Rafael

Attachment: t.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to