summaryrefslogtreecommitdiff
path: root/projects/sample/lib/sample/sample.c
blob: 631a48d1ad184f15e07ca37446783b7ec87dd505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * File: sample.c
 *
 * Description:
 *	This is a sample source file for a library.  It helps to demonstrate
 *	how to setup a project that uses the LLVM build system, header files,
 *	and libraries.
 */

#include <stdio.h>
#include <stdlib.h>

// LLVM Header File
#include "llvm/Support/DataTypes.h"

// Header file global to this project
#include "sample.h"

int
compute_sample (int a)
{
	return a;
}