On Wed, Sep 30, 2015 at 02:19:58PM +0000, Daniel Sanders via cfe-commits wrote:
> Hi,
> 
> Sorry for the slow reply. I'm a bit behind on cfe-commits and it seems I 
> dropped out of the CC list so it didn't land in my inbox.
> 
> Do you mean something like this?:
>       for (...) {
>         ...
> 
>         switch (C.getDefaultToolChain().getArch()) {
>         default:
>           break;
>         case llvm::Triple::mips:
>         case llvm::Triple::mipsel:
>         case llvm::Triple::mips64:
>         case llvm::Triple::mips64el:
>           if (Value == "--trap") {
>             ...
>             continue;
>           }
>           break;
>         }
>       
>         if (Value == "-force_cpusubtype_ALL") {
>           ...
>           continue;
>         }
> 
>         ...
> 
>         D.Diag(diag::err_drv_unsupported_option_argument)
>             << A->getOption().getName() << Value;
>       }
> 
> If so, that sounds good to me.

Correct.

Joerg
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to