Chris Lattner | 22eb972 | 2006-06-18 05:43:12 +0000 | [diff] [blame] | 1 | //===--- 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> |
| 16 | using namespace llvm; |
| 17 | using namespace clang; |
Chris Lattner | e8eef32 | 2006-07-08 07:01:00 +0000 | [diff] [blame^] | 18 | |
| 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. |
| 22 | bool MacroInfo::isEqualTo(const MacroInfo &Other) const { |
| 23 | return true; |
| 24 | } |