Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved #359 - Eclipse CDT - Method 'endExpression' could not be resolved #393

Closed
wants to merge 3 commits into from

Commits on Mar 21, 2015

  1. Resolved #359

    Eclipse header indexer did not handle the operator->* correctly. So
    rename the function from operator->* to eval can resolve the Eclipse
    false alert.
    kentsangkm committed Mar 21, 2015
    Configuration menu
    Copy the full SHA
    c97927f View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2015

  1. Revert "Resolved #359"

    This reverts commit c97927f.
    kentsangkm committed Mar 26, 2015
    Configuration menu
    Copy the full SHA
    4639815 View commit details
    Browse the repository at this point in the history
  2. Resolved #359

    Eclipse indexer did not handle the ->* operator correctly and display
    error in the editor, whereas it actually is not a bug. Changing the
    operator from operator->* to operator+ can resolve this problem.
    
    Proof of concept:
    Prority 3   operator+       Right-to-left
    Prority 4   operator->*     Left-to-right
    
    where:
    __catchResult+expr
    
    Supported operator in expr:
    Prority 3   +
    Prority 3   -
    Prority 3   /
    Prority 3   *
    Prority 13   &&
    *STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison
    Prority 14   ||
    *STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison
    
    __catchResult + _1Obj   operand1 _2Obj .... _NObj
    => (__catchResult + _1Obj) operand1 _2Obj .... _NObj
    => ExpressionLhs<T>        operand1 _2Obj .... _NObj
    Hence, the change is OK
    kentsangkm committed Mar 26, 2015
    Configuration menu
    Copy the full SHA
    9b3189f View commit details
    Browse the repository at this point in the history