Lines Matching refs:PragmaLocation

1036   SourceLocation PragmaLocation = ConsumeAnnotationToken();  in HandlePragmaMSPragma()  local
1057 if (!(this->*Handler)(PragmaName, PragmaLocation)) { in HandlePragmaMSPragma()
1067 SourceLocation PragmaLocation) { in HandlePragmaMSSection() argument
1069 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSection()
1075 PP.Diag(PragmaLocation, diag::warn_pragma_expected_section_name) in HandlePragmaMSSection()
1084 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSSection()
1101 PP.Diag(PragmaLocation, diag::warn_pragma_expected_action_or_r_paren) in HandlePragmaMSSection()
1118 PP.Diag(PragmaLocation, Flag == ASTContext::PSF_None in HandlePragmaMSSection()
1133 PP.Diag(PragmaLocation, diag::warn_pragma_expected_rparen) << PragmaName; in HandlePragmaMSSection()
1138 PP.Diag(PragmaLocation, diag::warn_pragma_extra_tokens_at_eol) in HandlePragmaMSSection()
1143 Actions.ActOnPragmaMSSection(PragmaLocation, SectionFlags, SegmentName); in HandlePragmaMSSection()
1148 SourceLocation PragmaLocation) { in HandlePragmaMSSegment() argument
1150 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSegment()
1163 PP.Diag(PragmaLocation, in HandlePragmaMSSegment()
1179 PP.Diag(PragmaLocation, diag::warn_pragma_expected_punc) in HandlePragmaMSSegment()
1185 PP.Diag(PragmaLocation, diag::warn_pragma_expected_punc) << PragmaName; in HandlePragmaMSSegment()
1198 PP.Diag(PragmaLocation, DiagID) << PragmaName; in HandlePragmaMSSegment()
1206 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSSegment()
1215 PP.Diag(PragmaLocation, diag::warn_pragma_expected_rparen) << PragmaName; in HandlePragmaMSSegment()
1220 PP.Diag(PragmaLocation, diag::warn_pragma_extra_tokens_at_eol) in HandlePragmaMSSegment()
1225 Actions.ActOnPragmaMSSeg(PragmaLocation, Action, SlotLabel, in HandlePragmaMSSegment()
1232 SourceLocation PragmaLocation) { in HandlePragmaMSInitSeg() argument
1234 PP.Diag(PragmaLocation, diag::warn_pragma_init_seg_unsupported_target); in HandlePragmaMSInitSeg()
1270 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSInitSeg()
1278 PP.Diag(PragmaLocation, diag::warn_pragma_expected_init_seg) << PragmaName; in HandlePragmaMSInitSeg()
1288 Actions.ActOnPragmaMSInitSeg(PragmaLocation, SegmentName); in HandlePragmaMSInitSeg()
1296 StringRef PragmaName, SourceLocation PragmaLocation) { in HandlePragmaMSStrictGuardStackCheck() argument
1341 Actions.ActOnPragmaMSStrictGuardStackCheck(PragmaLocation, Action, Value); in HandlePragmaMSStrictGuardStackCheck()
1346 SourceLocation PragmaLocation) { in HandlePragmaMSAllocText() argument
1359 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSAllocText()
1368 PP.Diag(PragmaLocation, diag::warn_pragma_expected_section_name) in HandlePragmaMSAllocText()
2317 SourceLocation PragmaLocation = Tok.getLocation(); in HandlePragma() local
2329 PragmaLocation, in HandlePragma()
3801 SourceLocation PragmaLocation) { in HandlePragmaMSFunction() argument
3837 SourceLocation PragmaLocation) { in HandlePragmaMSOptimize() argument
3844 PP.Diag(PragmaLocation, diag::warn_pragma_expected_string) << PragmaName; in HandlePragmaMSOptimize()
3852 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSOptimize()
3862 PP.Diag(PragmaLocation, diag::warn_pragma_missing_argument) in HandlePragmaMSOptimize()
3868 PP.Diag(PragmaLocation, diag::warn_pragma_invalid_argument) in HandlePragmaMSOptimize()
3882 PP.Diag(PragmaLocation, diag::warn_pragma_invalid_argument) in HandlePragmaMSOptimize()