Where to find a comprehensive list of methods for LangOptions

I need to set up a call to a class clang::CompilerInstance

with a class clang::LangOptions

, but I cannot find an exhaustive list of the methods of this class.

In this link ( cannot parse C ++ using llvm and clang ) I found some things similar to this for C ++:

LangOptions &langOpts = ci.getLangOpts();
langOpts.RTTI = 1;
langOpts.Bool = 1;
langOpts.CPlusPlus11 = 1;
langOpts.GNUKeywords = 1;
langOpts.CXXExceptions = 1;
langOpts.POSIXThreads = 1;
langOpts.SpellChecking = 1;

      

Here ( http://www.ibm.com/developerworks/linux/library/os-createcompilerllvm2/index.html?ca=drs-#list15 ) they say:

langOpts.CPlusPlus = 1;

      

I have searched the official documentation ( http://clang.llvm.org/doxygen/classclang_1_1LangOptions.html ) but I haven't found anything related to this.

+3


source to share


1 answer


A complete list is available at include/clang/Basic/LangOptions.def

.



+4


source







All Articles