[llvm] r208395 - MemoryBuffer: remove unusued definitions
Rafael EspĂndola
rafael.espindola at gmail.com
Fri May 9 13:03:49 PDT 2014
Thanks!
On 9 May 2014 04:57, Alp Toker <alp at nuanti.com> wrote:
> Author: alp
> Date: Fri May 9 03:57:06 2014
> New Revision: 208395
>
> URL: http://llvm.org/viewvc/llvm-project?rev=208395&view=rev
> Log:
> MemoryBuffer: remove unusued definitions
>
> These were made redundant back in r186560.
>
> Modified:
> llvm/trunk/lib/Support/MemoryBuffer.cpp
>
> Modified: llvm/trunk/lib/Support/MemoryBuffer.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/MemoryBuffer.cpp?rev=208395&r1=208394&r2=208395&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Support/MemoryBuffer.cpp (original)
> +++ llvm/trunk/lib/Support/MemoryBuffer.cpp Fri May 9 03:57:06 2014
> @@ -27,19 +27,11 @@
> #include <cstdio>
> #include <cstring>
> #include <new>
> -#include <sys/stat.h>
> #include <sys/types.h>
> #if !defined(_MSC_VER) && !defined(__MINGW32__)
> #include <unistd.h>
> #else
> #include <io.h>
> -// Simplistic definitinos of these macros for use in getOpenFile.
> -#ifndef S_ISREG
> -#define S_ISREG(x) (1)
> -#endif
> -#ifndef S_ISBLK
> -#define S_ISBLK(x) (0)
> -#endif
> #endif
> using namespace llvm;
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list