[PATCH] [Static Analyzer] Fix Analysis being skipped for code with declarations in .h file

Anna Zaks zaks.anna at gmail.com
Mon Jun 22 15:47:58 PDT 2015


Sorry about the breakage.

What about computing SL based on the location of the body before any of the checks? Specifically, changing this line:

  SourceLocation SL = SM.getExpansionLoc(D->getLocation());

Anna.


http://reviews.llvm.org/D10156

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list