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

References

tools/clang/lib/Sema/SemaExpr.cpp
11203       LHSInt->getBeginLoc(), S.getLocForEndOfToken(RHSInt->getLocation()));
11205       Lexer::getSourceText(ExprRange, S.getSourceManager(), S.getLangOpts());
11205       Lexer::getSourceText(ExprRange, S.getSourceManager(), S.getLangOpts());
11208       CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc));
11210       Lexer::getSourceText(XorRange, S.getSourceManager(), S.getLangOpts());
11210       Lexer::getSourceText(XorRange, S.getSourceManager(), S.getLangOpts());
11217       S.getSourceManager(), S.getLangOpts());
11217       S.getSourceManager(), S.getLangOpts());
11220       S.getSourceManager(), S.getLangOpts());
11220       S.getSourceManager(), S.getLangOpts());
11243   bool SuggestXor = S.getLangOpts().CPlusPlus || S.getPreprocessor().isMacroDefined("xor");
11243   bool SuggestXor = S.getLangOpts().CPlusPlus || S.getPreprocessor().isMacroDefined("xor");
11253         S.Diag(Loc, diag::warn_xor_used_as_pow_base)
11257         S.Diag(Loc, diag::warn_xor_used_as_pow) << ExprStr << XorValue.toString(10, true);
11261       S.Diag(Loc, diag::warn_xor_used_as_pow_base_extra)
11268     S.Diag(Loc, diag::note_xor_used_as_pow_silence) << ("0x2 ^ " + RHSStr) << SuggestXor;
11271     S.Diag(Loc, diag::warn_xor_used_as_pow_base)
11274     S.Diag(Loc, diag::note_xor_used_as_pow_silence) << ("0xA ^ " + RHSStr) << SuggestXor;