Searched refs:LangOpts (Results 76 - 100 of 102) sorted by relevance

12345

/external/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h131 /// \param LangOpts Options describing the current language dialect.
136 const LangOptions &LangOpts,
H A DSema.h213 const LangOptions &LangOpts; member in class:clang::Sema
816 const LangOptions &getLangOpts() const { return LangOpts; }
/external/clang/lib/CodeGen/
H A DCodeGenModule.h231 const LangOptions &LangOpts; member in class:clang::CodeGen::CodeGenModule
478 const LangOptions &getLangOpts() const { return LangOpts; }
H A DCGStmt.cpp1420 const LangOptions &LangOpts = CGF.CGM.getLangOpts(); local
1426 SourceLocation LineLoc = Str->getLocationOfByte(i+1, SM, LangOpts,
H A DCGRTTI.cpp996 LangOpts.ObjCRuntime.isGNUFamily())
H A DTargetInfo.cpp4081 const LangOptions &LangOpts = getContext().getLangOpts();
4082 if (LangOpts.OpenCL || LangOpts.CUDA) {
/external/clang/lib/Lex/
H A DHeaderSearch.cpp47 const LangOptions &LangOpts,
50 ModMap(FileMgr, *Diags.getClient(), LangOpts, Target, *this)
45 HeaderSearch(IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts, FileManager &FM, DiagnosticsEngine &Diags, const LangOptions &LangOpts, const TargetInfo *Target) argument
H A DPragma.cpp1281 if (LangOpts.MicrosoftExt) {
/external/clang/lib/Sema/
H A DSemaDecl.cpp2223 const LangOptions& LangOpts) {
2224 return ((FD->hasAttr<GNUInlineAttr>() || LangOpts.GNUInline) &&
2225 !LangOpts.CPlusPlus &&
3945 Diag(Loc, LangOpts.MicrosoftExt? diag::warn_member_extra_qualification
8014 << LangOpts.CPlusPlus << MagicValueExpr->getSourceRange();
8020 << LangOpts.CPlusPlus << MagicValueExpr->getSourceRange();
8298 if (LangOpts.NumLargeByValueCopy == 0) // No check.
8305 if (Size > LangOpts.NumLargeByValueCopy)
8317 if (Size > LangOpts.NumLargeByValueCopy)
8630 !(LangOpts
2222 canRedefineFunction(const FunctionDecl *FD, const LangOptions& LangOpts) argument
[all...]
H A DSemaDeclAttr.cpp3778 if (S.LangOpts.Renderscript) {
3786 if (S.LangOpts.CUDA) {
3808 if (S.LangOpts.CUDA) {
3830 if (S.LangOpts.CUDA) {
3865 if (S.LangOpts.CUDA) {
3886 if (S.LangOpts.CUDA) {
4130 if (S.LangOpts.CUDA) {
4569 if (S.LangOpts.MicrosoftExt || S.LangOpts.Borland) {
4624 if (!S.LangOpts
[all...]
H A DSemaDeclObjC.cpp1106 if (LangOpts.ObjCRuntime.isNonFragile()) {
1826 if (!(LangOpts.ObjCDefaultSynthProperties &&
1827 LangOpts.ObjCRuntime.isNonFragile()) ||
2477 if (LangOpts.ObjCRuntime.isNonFragile()) {
3038 LangOpts.ObjCInferRelatedResultType) {
3101 if (LangOpts.ObjCRuntime.isNonFragile()) {
H A DSemaExpr.cpp3037 if (!S.LangOpts.ObjCRuntime.allowsSizeofAlignof() && T->isObjCObjectType()) {
3334 if (S.LangOpts.ObjCRuntime.allowsPointerArithmetic())
3439 if (!LangOpts.ObjCRuntime.isSubscriptPointerArithmetic())
3443 if (!LangOpts.ObjCRuntime.allowsPointerArithmetic()) {
3459 if (!LangOpts.ObjCRuntime.allowsPointerArithmetic()) {
3536 assert(VK == VK_RValue || LangOpts.CPlusPlus ||
7356 if (LangOpts.DebuggerSupport) {
9320 bool IsSafe = LangOpts.CPlusPlus11? CRD->isStandardLayout() : CRD->isPOD();
9322 LangOpts.CPlusPlus11? diag::warn_offsetof_non_standardlayout_type
9620 if (!LangOpts
[all...]
H A DSemaExprObjC.cpp584 assert(!LangOpts.ObjCRuntime.isSubscriptPointerArithmetic());
1852 edit::Commit ECommit(SM, S.LangOpts);
H A DSemaDeclCXX.cpp2455 if (!LangOpts.CPlusPlus11)
4072 if (LangOpts.CPlusPlus11 && !Record->isDependentType() &&
4773 if (!LangOpts.CPlusPlus11 || RD->isInvalidDecl())
H A DSemaChecking.cpp3270 ReadableName = Lexer::getImmediateMacroName(SL, SM, LangOpts);
H A DSemaOverload.cpp2484 if (LangOpts.ObjCAutoRefCount &&
4930 assert(LangOpts.CPlusPlus11 && "converted constant expression outside C++11");
/external/clang/lib/AST/
H A DASTContext.cpp594 if (!LangOpts.CPlusPlus) return 0;
650 SourceMgr(SM), LangOpts(LOpts),
811 AddrSpaceMap = getAddressSpaceMap(Target, LangOpts);
819 if (LangOpts.CharIsSigned)
846 if (LangOpts.CPlusPlus && LangOpts.WChar) { // C++ 3.9.1p5
856 if (LangOpts.CPlusPlus) // C++0x 3.9.1p5, extension for C++
861 if (LangOpts.CPlusPlus) // C++0x 3.9.1p5, extension for C++
901 if (LangOpts.OpenCL) {
2602 const CallingConv CallConv = (LangOpts
[all...]
H A DTypePrinter.cpp616 } else if (T->getNumArgs() == 0 && !Policy.LangOpts.CPlusPlus) {
843 // = Policy.LangOpts.CPlusPlus || Policy.SuppressTagKeyword;
847 if (!(Policy.LangOpts.CPlusPlus || Policy.SuppressTagKeyword ||
/external/clang/include/clang/AST/
H A DASTContext.h353 LangOptions &LangOpts; member in class:clang::ASTContext
473 const LangOptions& getLangOpts() const { return LangOpts; }
562 assert(LangOpts.RetainCommentsFromSystemHeaders ||
/external/clang/lib/Serialization/
H A DASTWriter.cpp1047 const LangOptions &LangOpts = Context.getLangOpts(); local
1049 Record.push_back(LangOpts.Name);
1051 Record.push_back(static_cast<unsigned>(LangOpts.get##Name()));
1053 #define SANITIZER(NAME, ID) Record.push_back(LangOpts.Sanitize.ID);
1056 Record.push_back((unsigned) LangOpts.ObjCRuntime.getKind());
1057 AddVersionTuple(LangOpts.ObjCRuntime.getVersion(), Record);
1059 Record.push_back(LangOpts.CurrentModule.size());
1060 Record.append(LangOpts.CurrentModule.begin(), LangOpts.CurrentModule.end());
1063 Record.push_back(LangOpts
[all...]
/external/clang/lib/Frontend/
H A DCompilerInvocation.cpp39 : LangOpts(new LangOptions()), TargetOpts(new TargetOptions()),
46 LangOpts(new LangOptions(*X.getLangOpts())),
1637 code = hash_combine(code, LangOpts->Name);
1639 code = hash_combine(code, static_cast<unsigned>(LangOpts->get##Name()));
/external/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp28 const LangOptions &LangOpts) {
42 if (LangOpts.ObjCAutoRefCount) {
26 checkForLiteralCreation(const ObjCMessageExpr *Msg, IdentifierInfo *&ClassId, const LangOptions &LangOpts) argument
/external/clang/include/clang/Basic/
H A DDiagnostic.h1273 /// \param LangOpts The language options for the source file being processed.
1276 virtual void BeginSourceFile(const LangOptions &LangOpts,
/external/clang/lib/Analysis/
H A DCFG.cpp3523 const LangOptions &LangOpts; member in class:__anon3674::StmtPrinterHelper
3527 : currentBlock(0), currStmt(0), LangOpts(LO)
3586 const LangOptions &getLangOpts() const { return LangOpts; }
/external/clang/tools/libclang/
H A DCIndex.cpp119 const LangOptions &LangOpts,
128 SM, LangOpts);
133 { &SM, &LangOpts },
118 translateSourceRange(const SourceManager &SM, const LangOptions &LangOpts, const CharSourceRange &R) argument

Completed in 2419 milliseconds

12345