Home
last modified time | relevance | path

Searched refs:PragmaLoc (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Sema/
DSemaAttr.cpp79 SourceLocation PragmaLoc) { in ActOnPragmaOptionsAlign() argument
103 Diag(PragmaLoc, diag::err_pragma_options_align_mac68k_target_unsupported); in ActOnPragmaOptionsAlign()
118 Diag(PragmaLoc, diag::warn_pragma_options_align_reset_failed) in ActOnPragmaOptionsAlign()
126 PackStack.Act(PragmaLoc, Action, StringRef(), Alignment); in ActOnPragmaOptionsAlign()
129 void Sema::ActOnPragmaPack(SourceLocation PragmaLoc, PragmaMsStackAction Action, in ActOnPragmaPack() argument
145 Diag(PragmaLoc, diag::warn_pragma_pack_invalid_alignment); in ActOnPragmaPack()
159 Diag(PragmaLoc, diag::warn_pragma_pack_show) << "mac68k"; in ActOnPragmaPack()
161 Diag(PragmaLoc, diag::warn_pragma_pack_show) << AlignmentVal; in ActOnPragmaPack()
167 Diag(PragmaLoc, diag::warn_pragma_pack_pop_identifer_and_alignment); in ActOnPragmaPack()
169 Diag(PragmaLoc, diag::warn_pragma_pop_failed) << "pack" << "stack empty"; in ActOnPragmaPack()
[all …]
DSemaDecl.cpp15179 SourceLocation PragmaLoc, in ActOnPragmaRedefineExtname() argument
15203 SourceLocation PragmaLoc, in ActOnPragmaWeakID() argument
15208 PrevDecl->addAttr(WeakAttr::CreateImplicit(Context, PragmaLoc)); in ActOnPragmaWeakID()
15218 SourceLocation PragmaLoc, in ActOnPragmaWeakAlias() argument
/external/clang/lib/Lex/
DPragma.cpp181 SourceLocation PragmaLoc = Tok.getLocation(); in Handle_Pragma() local
186 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma()
193 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma()
221 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma()
293 Lexer *TL = Lexer::Create_PragmaLexer(TokLoc, PragmaLoc, RParenLoc, in Handle_Pragma()
299 HandlePragmaDirective(PragmaLoc, PIK__Pragma); in Handle_Pragma()
309 SourceLocation PragmaLoc = Tok.getLocation(); in HandleMicrosoft__pragma() local
314 Diag(PragmaLoc, diag::err__Pragma_malformed); in HandleMicrosoft__pragma()
332 Diag(PragmaLoc, diag::err_unterminated___pragma); in HandleMicrosoft__pragma()
348 HandlePragmaDirective(PragmaLoc, PIK___pragma); in HandleMicrosoft__pragma()
/external/clang/lib/Parse/
DParsePragma.cpp350 SourceLocation PragmaLoc = ConsumeToken(); in HandlePragmaPack() local
357 Actions.ActOnPragmaPack(PragmaLoc, Info->Action, Info->SlotLabel, in HandlePragmaPack()
374 SourceLocation PragmaLoc = ConsumeToken(); in HandlePragmaAlign() local
375 Actions.ActOnPragmaOptionsAlign(Kind, PragmaLoc); in HandlePragmaAlign()
388 SourceLocation PragmaLoc = ConsumeToken(); in HandlePragmaWeak() local
389 Actions.ActOnPragmaWeakID(Tok.getIdentifierInfo(), PragmaLoc, in HandlePragmaWeak()
396 SourceLocation PragmaLoc = ConsumeToken(); in HandlePragmaWeakAlias() local
403 Actions.ActOnPragmaWeakAlias(WeakName, AliasName, PragmaLoc, in HandlePragmaWeakAlias()
501 SourceLocation PragmaLoc = ConsumeToken(); // The annotation token. in HandlePragmaMSPointersToMembers() local
502 Actions.ActOnPragmaMSPointersToMembers(RepresentationMethod, PragmaLoc); in HandlePragmaMSPointersToMembers()
[all …]
/external/clang/include/clang/Sema/
DSema.h7725 SourceLocation PragmaLoc);
7728 void ActOnPragmaPack(SourceLocation PragmaLoc, PragmaMsStackAction Action,
7744 SourceLocation PragmaLoc);
7748 SourceLocation PragmaLoc,
7790 SourceLocation PragmaLoc);
7794 SourceLocation PragmaLoc);
7802 SourceLocation PragmaLoc,
7809 SourceLocation PragmaLoc,
7816 SourceLocation PragmaLoc,
7856 void ActOnPragmaOptimize(bool On, SourceLocation PragmaLoc);
/external/clang/lib/Serialization/
DASTWriter.cpp3914 SourceLocation PragmaLoc = SemaRef.getOptimizeOffPragmaLocation(); in WriteOptimizePragmaOptions() local
3915 AddSourceLocation(PragmaLoc, Record); in WriteOptimizePragmaOptions()