[PATCH] D73898: [analyzer] StdLibraryFunctionsChecker: Add argument constraints

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 27 01:47:48 PST 2020


balazske added a comment.

something like this:

  class MacroUsageDetector {
  public:
    void addMacroName(StringRef MName);
    bool isMacroUsed(StringRef MName, Expr *E, ???);
    APSInt getMacroValue(StringRef MName);
  };

Or one that handles a single macro?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73898/new/

https://reviews.llvm.org/D73898





More information about the cfe-commits mailing list