Ericsson / clang

Cross Translation Unit analysis capability for Clang Static Analyzer. (Fork of official clang at http://llvm.org/git/clang)
http://clang.llvm.org/
Other
15 stars 10 forks source link

Merge expr bits #472

Closed martong closed 6 years ago

martong commented 6 years ago

This is an experiment. Maybe we should copy all ExprBits. @balazske what do you think?

balazske commented 6 years ago

It occurs that these values are set by the constructor to default values (at least for InitListExpr). Copy of all flags should not cause problems (unless there are differences between imported and original AST that cause different correct settings for the flags but copy is still better than nothing).

martong commented 6 years ago

https://reviews.llvm.org/D51533