commit | c2e41be50f2cc3d1e99c30b1996b8873b05c4b0e | [log] [tgz] |
---|---|---|
author | Tom Eccles <tom.eccles@arm.com> | Tue Jul 15 16:39:34 2025 +0100 |
committer | GitHub <noreply@github.com> | Tue Jul 15 16:39:34 2025 +0100 |
tree | ab256de2bc9ebd68ecfd794182686cee695ad16e | |
parent | f5c676d6d95dc63b8dcb43dd2e4dfc913a9c5a50 [diff] |
[flang][Parser] Add whitespace token after the sentinel in fixed form (#148825) Fixes #148386 The first time the line was classified (using `Prescanner::ClassifyLine(const char *)`) the line was correctly classified as a compiler directive. But then later on the token form is invoked (`Prescanner::ClassifyLine(TokenSequence, Provenance)`). This one incorrectly classified the line as a comment because there was no whitespace token right after the sentinel. This fixes the issue by ensuring this whitespace is added.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.