mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-02 08:01:11 +03:00
Added LLVM-style license headers to all our files.
This commit is contained in:
parent
8b7320c7c2
commit
9458911839
106 changed files with 1207 additions and 85 deletions
|
@ -1,3 +1,18 @@
|
|||
//===-- gen_gccbuiltins.cpp - GCC builtin module generator ----------------===//
|
||||
//
|
||||
// LDC – the LLVM D compiler
|
||||
//
|
||||
// This file is distributed under the BSD-style LDC license. See the LICENSE
|
||||
// file for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This tool reads the GCC builtin definitions from LLVM's Intrinsics.td for
|
||||
// a given architecture and accordingly generates a ldc.gccbuiltins_<arch>
|
||||
// module for using them from D code.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
|
@ -59,7 +74,7 @@ string dtype(Record* rec)
|
|||
|
||||
string attributes(ListInit* propertyList)
|
||||
{
|
||||
string prop = propertyList->getSize() ?
|
||||
string prop = propertyList->getSize() ?
|
||||
propertyList->getElementAsRecord(0)->getName() : "";
|
||||
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue