[PATCH] D28477: Add LF_ prefix to LibFunc enums in TargetLibraryInfo.

David L. Jones via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 23 15:28:08 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL292849: Add LF_ prefix to LibFunc enums in TargetLibraryInfo. (authored by dlj).

Changed prior to commit:
  https://reviews.llvm.org/D28477?vs=83674&id=85473#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D28477

Files:
  cfe/trunk/lib/CodeGen/BackendUtil.cpp


Index: cfe/trunk/lib/CodeGen/BackendUtil.cpp
===================================================================
--- cfe/trunk/lib/CodeGen/BackendUtil.cpp
+++ cfe/trunk/lib/CodeGen/BackendUtil.cpp
@@ -262,7 +262,7 @@
     TLII->disableAllFunctions();
   else {
     // Disable individual libc/libm calls in TargetLibraryInfo.
-    LibFunc::Func F;
+    LibFunc F;
     for (auto &FuncName : CodeGenOpts.getNoBuiltinFuncs())
       if (TLII->getLibFunc(FuncName, F))
         TLII->setUnavailable(F);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28477.85473.patch
Type: text/x-patch
Size: 500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170123/94e37db6/attachment-0001.bin>


More information about the cfe-commits mailing list