Changeset 5786403
- Timestamp:
- Dec 15, 2024, 10:07:29 PM (2 days ago)
- Branches:
- master
- Children:
- a16f2b6
- Parents:
- d30c229
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/SemanticError.hpp
rd30c229 r5786403 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Dec 2 15:14:13202413 // Update Count : 7 512 // Last Modified On : Sun Dec 15 21:04:32 2024 13 // Update Count : 77 14 14 // 15 15 … … 58 58 59 59 constexpr WarningData WarningFormats[] = { 60 {"self-assign" , Severity::Warn, "self assignment of expression: %s "},61 {"reference-conversion" , Severity::Warn, "rvalue to reference conversion of rvalue: %s "},62 {"aggregate-forward-decl" , Severity::Warn, "forward declaration of nested aggregate: %s "},63 {"superfluous-decl" , Severity::Warn, "declaration does not allocate storage: %s"},64 {"superfluous-else" , Severity::Warn, "else clause never executed for empty loop conditional "},65 {"gcc-attributes" , Severity::Warn, "invalid attribute: %s "},66 {"c++-like-copy" , Severity::Warn, "Constructor from reference is not a valid copy constructor " },67 {"depreciated-trait-syntax" , Severity::Warn, "trait type-parameters are now specified using the forall clause " },60 {"self-assign" , Severity::Warn, "self assignment of expression: %s." }, 61 {"reference-conversion" , Severity::Warn, "rvalue to reference conversion of rvalue: %s." }, 62 {"aggregate-forward-decl" , Severity::Warn, "forward declaration of nested aggregate: %s." }, 63 {"superfluous-decl" , Severity::Warn, "declaration does not declare anything." }, 64 {"superfluous-else" , Severity::Warn, "else clause never executed for empty loop conditional." }, 65 {"gcc-attributes" , Severity::Warn, "invalid attribute: %s." }, 66 {"c++-like-copy" , Severity::Warn, "Constructor from reference is not a valid copy constructor." }, 67 {"depreciated-trait-syntax" , Severity::Warn, "trait type-parameters are now specified using the forall clause." }, 68 68 }; 69 69 -
src/Parser/lex.ll
rd30c229 r5786403 10 10 * Created On : Sat Sep 22 08:58:10 2001 11 11 * Last Modified By : Peter A. Buhr 12 * Last Modified On : Sun Oct 13 16:49:47202413 * Update Count : 87 612 * Last Modified On : Sun Dec 15 17:23:46 2024 13 * Update Count : 877 14 14 */ 15 15 … … 425 425 ";" { ASCIIOP_RETURN(); } 426 426 "." { ASCIIOP_RETURN(); } // also operator 427 "@ @" { NAMEDOP_RETURN(ATTR); } // CFA, attribute shorthand427 "@[" { NAMEDOP_RETURN(ATTR); } // CFA, attribute shorthand 428 428 "..." { NAMEDOP_RETURN(ELLIPSIS); } 429 429
Note: See TracChangeset
for help on using the changeset viewer.