Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 if likelyMacro/constexpr destroy parse

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
superzmy Posted - Dec 19 2024 : 10:07:48 AM
void A()
{
if constexpr (1)
{
}
int x;
}
------
void A()
{
if MYMACRO(1)
{
}
int x;
}
cause VA Outline tree level broken
2   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Dec 19 2024 : 3:37:03 PM
Thank you for the clear examples. It turns out the constexpr version of the bug is a known problem, but I didn't know this could happen with a macro after an if statement. That is quite odd, but very easy to reproduce once you know what the trigger is:

case=144299
superzmy Posted - Dec 19 2024 : 10:25:17 AM
and prevent symbol reference of CALL about
if MYMACRO(CALL())

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000