reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/Lex/Lexer.h
  168   const LangOptions &getLangOpts() const { return LangOpts; }
  213     assert((!Val || LexingRawMode || LangOpts.TraditionalCPP) &&
tools/clang/lib/Lex/Lexer.cpp
  165   if (LangOpts.TraditionalCPP)
 1595   if (CodePoint == 0 || !isAllowedIDChar(CodePoint, LangOpts))
 1622       !isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts))
 1652       (C != '$' || !LangOpts.DollarIdents)) {
 1707       if (!LangOpts.DollarIdents) goto FinishIdentifier;
 1764     if (!LangOpts.MicrosoftExt || !isHexaLiteral(BufferPtr, LangOpts))
 1764     if (!LangOpts.MicrosoftExt || !isHexaLiteral(BufferPtr, LangOpts))
 1774     if (!LangOpts.C99) {
 1775       if (!isHexaLiteral(BufferPtr, LangOpts))
 1927       if (!isLexingRawMode() && !LangOpts.AsmPreprocessor)
 2093   auto Slash = PartialPath.find_last_of(LangOpts.MSVCCompat ? "/\\" : "/");
 2134     if (!isLexingRawMode() && !LangOpts.AsmPreprocessor)
 2147       if (!isLexingRawMode() && !LangOpts.AsmPreprocessor)
 2248   if (!LangOpts.LineComment && !isLexingRawMode()) {
 2253     LangOpts.LineComment = true;
 2284                EscapePtr[-2] == '?' && LangOpts.Trigraphs)
 2758     if (LangOpts.CPlusPlus11) {
 2943   if (!LangOpts.AllowEditorPlaceholders)
 2976   if (!LangOpts.CPlusPlus && !LangOpts.C99) {
 2976   if (!LangOpts.CPlusPlus && !LangOpts.C99) {
 3028   if (LangOpts.AsmPreprocessor)
 3063       if (LangOpts.CPlusPlus && !LangOpts.CPlusPlus11)
 3063       if (LangOpts.CPlusPlus && !LangOpts.CPlusPlus11)
 3090   if (isAllowedIDChar(C, LangOpts) && isAllowedInitiallyIDChar(C, LangOpts)) {
 3090   if (isAllowedIDChar(C, LangOpts) && isAllowedInitiallyIDChar(C, LangOpts)) {
 3106       !isASCII(*BufferPtr) && !isAllowedIDChar(C, LangOpts)) {
 3232     if (LangOpts.MicrosoftExt) {
 3289         LangOpts.LineComment &&
 3290         (LangOpts.CPlusPlus || !LangOpts.TraditionalCPP)) {
 3290         (LangOpts.CPlusPlus || !LangOpts.TraditionalCPP)) {
 3317     if (LangOpts.CPlusPlus11 || LangOpts.C11) {
 3317     if (LangOpts.CPlusPlus11 || LangOpts.C11) {
 3331       if (Char == 'R' && LangOpts.CPlusPlus11 &&
 3347         if (Char2 == '\'' && LangOpts.CPlusPlus17)
 3353         if (Char2 == 'R' && LangOpts.CPlusPlus11) {
 3375     if (LangOpts.CPlusPlus11 || LangOpts.C11) {
 3375     if (LangOpts.CPlusPlus11 || LangOpts.C11) {
 3389       if (Char == 'R' && LangOpts.CPlusPlus11 &&
 3404     if (LangOpts.CPlusPlus11) {
 3427     if (LangOpts.CPlusPlus11 && Char == 'R' &&
 3456     if (LangOpts.DollarIdents) {
 3510     } else if (LangOpts.CPlusPlus && Char == '*') {
 3559     } else if (Char == '>' && LangOpts.CPlusPlus &&
 3597       bool TreatAsComment = LangOpts.LineComment &&
 3598                             (LangOpts.CPlusPlus || !LangOpts.TraditionalCPP);
 3598                             (LangOpts.CPlusPlus || !LangOpts.TraditionalCPP);
 3637     } else if (LangOpts.Digraphs && Char == '>') {
 3640     } else if (LangOpts.Digraphs && Char == ':') {
 3647       } else if (Char == '@' && LangOpts.MicrosoftExt) {// %:@ -> #@ -> Charize
 3684       } else if (LangOpts.CUDA && After == '<') {
 3713     } else if (LangOpts.Digraphs && Char == ':') {     // '<:' -> '['
 3714       if (LangOpts.CPlusPlus11 &&
 3733     } else if (LangOpts.Digraphs && Char == '%') {     // '<%' -> '{'
 3761       } else if (LangOpts.CUDA && After == '>') {
 3778     } else if (LangOpts.OpenCL && Char == '^') {
 3802     if (LangOpts.Digraphs && Char == '>') {
 3805     } else if ((LangOpts.CPlusPlus ||
 3806                 LangOpts.DoubleSquareBracketAttributes) &&
 3838     } else if (Char == '@' && LangOpts.MicrosoftExt) {  // #@ -> Charize
 3857     if (CurPtr[-1] == '@' && LangOpts.ObjC)
 3865     if (!LangOpts.AsmPreprocessor) {