[PATCH] Warn on suspicious use of absolute value function

Richard Trieu rtrieu at google.com
Wed Jan 22 20:30:13 PST 2014


  Update the warning, sync to latest revision.  Change wording of warning.  Move function from FunctionDecl to a static function.  Don't use the name of the function to determine if it is an absolute value function.

http://llvm-reviews.chandlerc.com/D2224

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2224?vs=5666&id=6591#toc

Files:
  test/Sema/warn-absolute-value.c
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/Sema.h
  lib/Sema/SemaChecking.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2224.2.patch
Type: text/x-patch
Size: 57779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140122/893e73ef/attachment.bin>


More information about the cfe-commits mailing list