mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-22 20:20:03 +00:00
fbee880cfb
to avoid using constructor calls for static objects. This reduces the number of objects requiring static constructors in a typical LLVM build by around 20%. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48665 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
705 B
C++
21 lines
705 B
C++
//===- lib/System/IncludeFile.cpp - Ensure Linking Of Implementation -----===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file implements the IncludeFile constructor.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/System/IncludeFile.h"
|
|
|
|
using namespace llvm;
|
|
|
|
// This constructor is used to ensure linking of other modules. See the
|
|
// llvm/System/IncludeFile.h header for details.
|
|
IncludeFile::IncludeFile(const void*) {}
|