1 //===-- llvm/Support/Visibility.h - visibility(hidden) support --*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by Chris Lattner and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines the VISIBILITY_HIDDEN macro, used for marking classes with
11 // the GCC-specific visibility("hidden") attribute.
13 //===----------------------------------------------------------------------===//
15 #ifndef VISIBILITY_HIDDEN
18 #define VISIBILITY_HIDDEN __attribute__ ((visibility("hidden")))
20 #define VISIBILITY_HIDDEN