1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00
Commit graph

714 commits

Author SHA1 Message Date
Andrew Niefer
28848655d5 Fix recovery after not expanding a function macro 2004-10-27 19:01:46 +00:00
Andrew Niefer
a885c2bd7f 74190 - [Scanner][IProblem] glib.h macro usage error 2004-10-26 21:16:12 +00:00
Andrew Niefer
e58b686575 77010: IASTClassSpecifier#getDeclarations() returns incomplete information 2004-10-26 15:50:51 +00:00
Andrew Niefer
a0bf3dad3b 76947: [Parser] Declaration parsed as Expression 2004-10-25 21:21:57 +00:00
Andrew Niefer
7f18452d63 75956: 16.3.1 don't rescan macro args if used in a ## operator
aka  [Scanner] Inifinite loop parsing system include <ext/rope>
2004-10-22 21:33:24 +00:00
Andrew Niefer
ee74068fe8 fix expansion of macros used as parameters to function-like macros 2004-10-21 21:25:41 +00:00
Andrew Niefer
8e22cf635e fix bug 74069: [Parser][IProblem] if (…) if (…) else if (…) causes unnecessary warning marker 2004-10-21 16:15:45 +00:00
Andrew Niefer
bd3686071d 76696 - [Parser] Problem in if condition causes problems in else 2004-10-20 20:37:09 +00:00
Andrew Niefer
96930791c6 don't expand function-like macros is they aren't followed by a ( 2004-10-20 18:30:11 +00:00
John Camelon
f479e84d8f Patch for Devin Steffler.
Fixed 39688 [Scanner] Macros with variable number of arguments are not supported (C99) (GCC)
- added support for C99 syntax for macros with variable arguments i.e. "..."
- added support for GCC syntax for macros with variable arguments i.e. "args..."
- added test cases for the above
2004-10-20 17:59:54 +00:00
Andrew Niefer
a22cca2f6b 39677, 74190 - fix problem with statements in expressions 2004-10-20 16:51:54 +00:00
John Camelon
07a8507a81 Partial fix for 76480 - [Content assist] shouldn't work on scope operator in C code 2004-10-20 15:08:44 +00:00
John Camelon
2f84ab8078 Updated visibility of particular parser components. 2004-10-20 15:01:41 +00:00
Andrew Niefer
121fe1e577 fix problem reporting from the ExpressionEvaluator 2004-10-18 21:11:57 +00:00
John Camelon
19ffaa04f2 Patch for Devin Steffler
Fixed 75532 [Scanner] Wrong compare if the two declarations are in other number system.
- Octal support has been added along side Hex support in ExpressionEvaluator.java.
- SourceIndexerRequestor.java now handles IProblem.SCANNER_RELATED IProblems
- IProblems can now be thrown easily from ExpressionEvaluator.java
- IProblems are reported for malformed Decimal/Hex/Octal numbers as well as the existing EvalExceptions that occur in ExpressionEvaluator.java
- tests were added to check Octal support and that the IProblems are raised properly within ExpressionEvaluator.java
2004-10-13 20:03:32 +00:00
John Camelon
69c2f46f4b Fixed 39701 [Parser] Extended syntax for template instantiation is not supported (GCC, C++) 2004-10-13 14:13:27 +00:00
Vladimir Hirsl
f1617823d5 Fix for PR 69604 [Templates] Instantiating template with deferred template instance. 2004-10-12 05:50:18 +00:00
John Camelon
06b4f414c0 Patch for Devin Steffler
Fixed 72611 [Parser] Timeout strategy does not affect scanner infinite loops
2004-10-11 03:00:10 +00:00
Andrew Niefer
f15a3f4d08 75956 [Scanner] Inifinite loop parsing system include <ext/rope> 2004-10-08 20:28:33 +00:00
Andrew Niefer
1b2f0d5e9e bug 74847- [Parser] In ASTBaseSpecifier.getParentClassSpecifier, the "symbol" attribute is dereferenced to null 2004-10-08 15:36:15 +00:00
Andrew Niefer
654fb767a2 Patch from Devin Steffler: [Scanner] Wrong compare if the two declarations are in other number system 2004-10-07 18:51:36 +00:00
Andrew Niefer
dc2c9cec11 75482: Friendship erroneously granted 2004-10-07 18:13:20 +00:00
John Camelon
6830aea7d7 Patch by Devin Steffler
Fixed 72710 [Search] Field Reference incorrectly reported as variable ref
2004-10-07 17:31:07 +00:00
Andrew Niefer
615478809e remove unused import 2004-10-06 21:41:27 +00:00
Andrew Niefer
6013159eb0 add line and offset info to problems during a lookup 2004-10-06 21:40:09 +00:00
Andrew Niefer
73d595ea0e use the canonical path when creating code readers so that the name
in the code reader matches the file on disk  (makes a difference on
non-case-sensitive OSs)
2004-10-06 20:39:12 +00:00
Vladimir Hirsl
d029959807 Fix for PR 75728 [ParserSymbolTable] NPE in TypeInfoProvider.newTypeInfo.
Corrected mappings added to to TemplateSymbol._defnParameterMap.
2004-10-06 20:30:49 +00:00
Andrew Niefer
1f751745a9 bug 73954: [Parser] GCC built_in symbols
added
- __builtin_types_compatible_p
- __builtin_constant_p
- __builtin_choose_expr

added a new DynamicFunctionStyleMacro to implement the __builtin_choose_expr
also fixed the typeSpec and typeId caches in the factory
2004-10-06 20:15:10 +00:00
John Camelon
5bd3694555 Fixed 75338 - [Parser] complete.ASTExceptionSpecification#getTypeIds() yields useless information 2004-10-05 18:16:06 +00:00
Andrew Niefer
95b192460c Bug 75401: [Scanner][Parser] problem w/using va_arg macro 2004-10-05 17:45:39 +00:00
John Camelon
9b1cc11593 Removed IASTTypeId.getSymbol() as it was exposing an internal interface.
Removed warnings.
2004-10-04 19:14:16 +00:00
Andrew Niefer
0ab0b97b0f bug 72814: [Parser] Open Declaration fails on std::vector<int> reference 2004-09-30 21:19:10 +00:00
Andrew Niefer
645b3306eb bug 73652: [Scanner] Macro replacement confusion 2004-09-30 20:23:30 +00:00
Vladimir Hirsl
440ada9bab Fix for PR 60307 [Templates] Template parameter qualified types not supported
Added new symbol type: UndefinedTemplateSymbol that represents template paramater
	qualified types. At instantiation the unknown types are replaced with the real ones.
2004-09-30 19:45:57 +00:00
John Camelon
bab0c22d3a Removed warning. 2004-09-29 14:52:24 +00:00
John Camelon
045dc8071e Removed warning. 2004-09-28 21:55:01 +00:00
Andrew Niefer
28c842f6a3 fix bug 72712: [Parser] Selection Search fails upon new expression 2004-09-28 20:59:32 +00:00
John Camelon
73941de92e Removed EXPRESSION_PARSE as it is now an unused ParserMode. 2004-09-28 17:30:12 +00:00
John Camelon
ad54f46853 Fixed Bug 39677 - Statements in expressions are not supported (GCC) 2004-09-28 15:22:02 +00:00
Andrew Niefer
defd110486 Patch from Devin Steffler : 71669 [Scanner] Scanner2 should use Keywords class 2004-09-28 14:51:21 +00:00
Andrew Niefer
fef50c2168 bug 75083: [Scanner] IProblem offsets wrong for macro expansions 2004-09-27 20:15:50 +00:00
Andrew Niefer
1943c247b2 fix bug 72713: [Open Declaration] F3 on a method definition goes nowhere 2004-09-24 20:42:16 +00:00
John Camelon
f5618e3847 Patch for Devin Steffler.
Fixed 72692 - [Parser] illegitimate syntax errors IProblems for Shapes demo
Fixed 74575 - [Parser][CompleteParseASTFactory] forward symbol being set improperly for similar but different functions
Fixed 74603 - [Parser] float function with float parameters has no body but should
2004-09-24 15:43:12 +00:00
Andrew Niefer
4ab98b6ee9 fix bug 72372 : [Parser] ContextSearch declarations on a function defn: op unavailable
lookupNestedNameSpecifier didn't consider using directives.
2004-09-24 15:07:49 +00:00
Andrew Niefer
f6bae1949b fix bug 72537: [Parser] environment macros with pararmeters are not respected by the parser 2004-09-23 17:22:24 +00:00
Andrew Niefer
5e62215526 fix bug 72721: [Parser] new expression Constructor call with expression arg 2004-09-23 15:12:02 +00:00
John Camelon
08f62553a6 Fixed 69439 - [Content Assist] confusion when completing after "123." 2004-09-23 00:43:45 +00:00
John Camelon
1b1480e7ba Fixed Bug 39686 - GCC complex numbers are not supported (GCC) 2004-09-21 23:42:47 +00:00
Andrew Niefer
da4608ec2c some GCC builtins : 73954 [Parser] GCC built_in symbols 2004-09-21 20:01:25 +00:00
John Camelon
726c0f77b1 Fixed 71733 - [Scanner] Comment within multi-line macro definition not scanned properly
- Thanks to David Pickens who pointed me to the right place in Scanner2.
2004-09-21 18:29:36 +00:00