hasLocalSideEffect rename isUnusedResualtAWarning

  • Thread starter óÅÒÇÅÊ æÉÌÉÐÐÏ×
  • Start date
Ó

óÅÒÇÅÊ æÉÌÉÐÐÏ×

Hello, i'm working on migration of one program from llvm/clang 2.4 to
llvm/clang 2.8. And i founded that, function Expr::hasLocalSideEffect
was renamed to Expr::isUnusedResultAWarning. Function
Expr::isUnusedResultAWarning has some arguments that
Expr::hasLocalSideEffect didn't have. Like SourceLocation &Loc,
SourceRange &R1, SourceRange &R2, ASTContext &Ctx. Is there any way to
use new function with minimal chage to code?
 
I

Ian Collins

Hello, i'm working on migration of one program from llvm/clang 2.4 to
llvm/clang 2.8. And i founded that, function Expr::hasLocalSideEffect
was renamed to Expr::isUnusedResultAWarning. Function
Expr::isUnusedResultAWarning has some arguments that
Expr::hasLocalSideEffect didn't have. Like SourceLocation&Loc,
SourceRange&R1, SourceRange&R2, ASTContext&Ctx. Is there any way to
use new function with minimal chage to code?

Are you lost? This is a C language group.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,220
Latest member
AugustinaJ

Latest Threads

Top