blob: 28579a46bc032d6669e31085a98fd0f2bd0b0af9 [file] [log] [blame]
Chris Lattner22eb9722006-06-18 05:43:12 +00001//===--- MacroInfo.cpp - Information about #defined identifiers -----------===//
2//
3// The LLVM Compiler Infrastructure
4//
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.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file implements the MacroInfo interface.
11//
12//===----------------------------------------------------------------------===//
13
14#include "clang/Lex/MacroInfo.h"
15#include <iostream>
16using namespace llvm;
17using namespace clang;
Chris Lattnere8eef322006-07-08 07:01:00 +000018
19/// isEqualTo - Return true if the specified macro definition is equal to this
20/// macro in spelling, arguments, and whitespace. This is used to emit
21/// duplicate definition warnings.
22bool MacroInfo::isEqualTo(const MacroInfo &Other) const {
23 return true;
24}