Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(739)

Unified Diff: utils/TableGen/TGParser.h

Issue 7792066: [llvm] Conditionally include target intrinsics, based on --enable-target Base URL: https://llvm.org/svn/llvm-project/llvm/trunk/
Patch Set: cleanups Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/TableGen/TGLexer.cpp ('k') | utils/TableGen/TableGen.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/TableGen/TGParser.h
===================================================================
--- utils/TableGen/TGParser.h (revision 138929)
+++ utils/TableGen/TGParser.h (working copy)
@@ -53,9 +53,10 @@
// Record tracker
RecordKeeper &Records;
public:
- TGParser(SourceMgr &SrcMgr, RecordKeeper &records) :
- Lex(SrcMgr), CurMultiClass(0), Records(records) {}
-
+ TGParser(SourceMgr &SrcMgr, RecordKeeper &records,
+ std::vector<std::string> PreProcDefines)
+ : Lex(SrcMgr, PreProcDefines), CurMultiClass(0), Records(records) {}
+
/// ParseFile - Main entrypoint for parsing a tblgen file. These parser
/// routines return true on error, or false on success.
bool ParseFile();
« no previous file with comments | « utils/TableGen/TGLexer.cpp ('k') | utils/TableGen/TableGen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698