[llvm-dev] Disabling Exception in LLVM

Chris Bieneman via llvm-dev llvm-dev at lists.llvm.org
Tue May 1 10:32:14 PDT 2018


Siddharth,

I'm not sure what coding standards you refer to when you say "some C++ coding standard". This question is answered in the LLVM Coding Standards document here:

https://www.llvm.org/docs/CodingStandards.html#do-not-use-rtti-or-exceptions <https://www.llvm.org/docs/CodingStandards.html#do-not-use-rtti-or-exceptions>

As such LLVM's coding standards prohibit the use of exceptions and RTTI.

-Chris

> On May 1, 2018, at 10:02 AM, Siddharth Shankar Swain via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hi all,
> Can anyone explain why exceptions are disabled in LLVM, even if some C++ coding standard tells to use exceptions ?
> Thanks,
> Siddharth
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180501/49f2c367/attachment.html>


More information about the llvm-dev mailing list