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
Andrew Niefer
cfb7157606
fix NPE from bug 74329
2004-09-20 19:33:26 +00:00
John Camelon
bea93881a3
Fixed 74328 - [Scanner][IProblem] char * initialization problem
2004-09-20 19:24:38 +00:00
Andrew Niefer
14bbb07c98
bug 73492 - [Scanner] Improper offset for particular IProblem
2004-09-20 17:45:04 +00:00
Andrew Niefer
05ca77b425
fix 72691 - [Parser] time_t is unresolved type
2004-09-17 20:58:49 +00:00
Andrew Niefer
a6f4bef6ba
73708 - [Scanner] OLRE doesn't exit scanner
2004-09-17 18:23:08 +00:00
Andrew Niefer
cdfae9c75b
74180 - [Scanner] Scanner doesn't distinguish C & C++ keywords
2004-09-17 17:56:16 +00:00
Andrew Niefer
b68b6a74dd
fix 74176 - [Scanner] ArrayIndexOutOfBoundsException scanning a string
2004-09-17 15:05:17 +00:00
Andrew Niefer
0558ecc1c9
fixing macros 72506.
...
Also make interface IMacro, change content assist to use it.
2004-09-17 14:10:28 +00:00
John Camelon
413c618734
Fixed 73615 - [Parser] NullPointerException in TokenFactory#createTokenDuple
2004-09-13 15:43:12 +00:00
John Camelon
9a9ffd59c2
Fixed 69791 [Parser] Indexer complains about va_list
...
Fixed 72529 [Scanner] Separate GCC Extension from Scanner2
Fixed 72725 [Scanner] Parser missteps on \r in escaped macros
Cleaned up IScannerExtension & implementation.
Added GCCExtensionTestSuite to ParserTestSuite.
Updated failed tests & restructured tests.
2004-09-11 23:04:28 +00:00
Andrew Niefer
a0681af9ce
fix incorrect merging of prefix lookup results from different scopes. 72559
2004-09-10 21:14:01 +00:00
Andrew Niefer
9af69e200c
fix ArrayIndexOutOfBoundsException and avoid infinite loops caused by
...
exceptions leaving the scanner. 73652
2004-09-10 18:06:03 +00:00
Andrew Niefer
bb6eaf7e55
bugs 72824, 69334
2004-09-09 20:59:22 +00:00
John Camelon
a76ec38690
Fixed 73524 - CDT 2.0.1 freezes after trying to open a large .c file
2004-09-09 18:33:49 +00:00